Skip to content

Commit

Permalink
Migrate generated artifacts between jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Aug 13, 2024
1 parent 18932d8 commit e855d78
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,11 @@ jobs:
uses: gradle/actions/wrapper-validation@v4

- name: Execute Gradle build
run: ./gradlew clean check integrationTest --scan --stacktrace
run: ./gradlew clean check integrationTest --scan --stacktrace

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
**/build
6 changes: 6 additions & 0 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
needs: build-artifacts
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: .

- name: 'Publish Test Results'
uses: EnricoMi/publish-unit-test-result-action/linux@v2
if: always()
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-java-os-mix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java-version }}

- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: .

- name: Execute integration test (on Unixes)
run: |
cd integration-test/gradle-plugin
Expand Down

0 comments on commit e855d78

Please sign in to comment.