Build distribution when running quick-check workflow

The action requires the generated distribution to committed to the 'dist' directory.
During regular development this step causes a number of problems:
- It's easy to forget to add/commit these generated files.
- It's very difficult/impossible to merge/rebase commits that involve generated files
- These file add unnecessary bulk to the git history

With this change, the quick-check workflow will first build the distribution and then
use the generated output for testing. Building and committing these files will only be
required when merging into the 'main' branch.
This commit is contained in:
Daz DeBoer
2022-05-29 13:47:45 -06:00
parent bdb9f7fd28
commit acc77da702
15 changed files with 199 additions and 22 deletions

View File

@@ -11,64 +11,53 @@ jobs:
uses: ./.github/workflows/integ-test-action-inputs.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
caching-config:
uses: ./.github/workflows/integ-test-action-inputs-caching.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
execution-with-caching:
uses: ./.github/workflows/integ-test-execution-with-caching.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
execution:
uses: ./.github/workflows/integ-test-execution.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
gradle-versions:
uses: ./.github/workflows/integ-test-gradle-versions.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
restore-configuration-cache:
uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
restore-custom-gradle-home:
uses: ./.github/workflows/integ-test-restore-custom-gradle-home.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
restore-gradle-home:
uses: ./.github/workflows/integ-test-restore-gradle-home.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
restore-java-toolchain:
uses: ./.github/workflows/integ-test-restore-java-toolchain.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
sample-kotlin-dsl:
uses: ./.github/workflows/integ-test-sample-kotlin-dsl.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
sample-gradle-plugin:
uses: ./.github/workflows/integ-test-sample-gradle-plugin.yml
with:
cache-key-prefix: ${{github.run_number}}-
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'