gradle.yml, graalvm.yml: update upload-artifact to v4

Also adjust artifact name as v4 rejects uploads with duplicate names.
This commit is contained in:
Sean Gilligan 2024-01-31 18:10:24 +01:00 committed by Andreas Schildbach
parent 97a4754dc7
commit 1abecf97d2
2 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ jobs:
gradle-version: ${{ matrix.gradle }} gradle-version: ${{ matrix.gradle }}
arguments: test nativeCompile --init-script build-scan-agree.gradle --scan --info --stacktrace arguments: test nativeCompile --init-script build-scan-agree.gradle --scan --info --stacktrace
- name: Upload wallet-tool as artifact - name: Upload wallet-tool as artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: wallet-tool-${{ matrix.os }} name: wallet-tool-${{ matrix.os }}-${{ matrix.java-version }}
path: wallettool/build/native/nativeCompile/wallet-tool path: wallettool/build/native/nativeCompile/wallet-tool

View file

@ -34,10 +34,10 @@ jobs:
gradle-version: ${{ matrix.gradle }} gradle-version: ${{ matrix.gradle }}
arguments: -PtestJdk8=true build --init-script build-scan-agree.gradle --scan --info --stacktrace arguments: -PtestJdk8=true build --init-script build-scan-agree.gradle --scan --info --stacktrace
- name: Upload Test Results and Reports - name: Upload Test Results and Reports
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: bitcoinj-core-test-results-jdk${{ matrix.java }}-${{ matrix.os }} name: bitcoinj-core-test-results-jdk${{ matrix.java }}-${{ matrix.os }}-${{ matrix.gradle }}
path: | path: |
core/build/reports/tests/test/ core/build/reports/tests/test/
core/build/test-results/test/ core/build/test-results/test/