mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
gradle.yml, graalvm.yml: fix Gradle Action deprecation warning
Remove `arguments` parameter from `setup-gradle` and add add a basic `run` step with the actual `gradle` command. This fixes a deprecation warning.
This commit is contained in:
parent
3c7088b832
commit
f1a5ebe71e
5
.github/workflows/graalvm.yml
vendored
5
.github/workflows/graalvm.yml
vendored
@ -23,11 +23,12 @@ jobs:
|
||||
java-version: ${{ matrix.java-version }}
|
||||
distribution: ${{ matrix.distribution }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build with Gradle
|
||||
- name: Set up Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
gradle-version: ${{ matrix.gradle }}
|
||||
arguments: test nativeCompile --init-script build-scan-agree.gradle --scan --info --stacktrace
|
||||
- name: Run Gradle
|
||||
run: gradle test nativeCompile --init-script build-scan-agree.gradle --scan --info --stacktrace
|
||||
- name: Upload wallet-tool as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
5
.github/workflows/gradle.yml
vendored
5
.github/workflows/gradle.yml
vendored
@ -28,11 +28,12 @@ jobs:
|
||||
with:
|
||||
distribution: ${{ matrix.distribution }}
|
||||
java-version: ${{ matrix.java }}
|
||||
- name: Build with Gradle
|
||||
- name: Set up Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
gradle-version: ${{ matrix.gradle }}
|
||||
arguments: -PtestJdk8=true build --init-script build-scan-agree.gradle --scan --info --stacktrace
|
||||
- name: Run Gradle
|
||||
run: gradle -PtestJdk8=true build --init-script build-scan-agree.gradle --scan --info --stacktrace
|
||||
- name: Upload Test Results and Reports
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
|
Loading…
Reference in New Issue
Block a user