Skip to content

Commit

Permalink
gradle.yml, graalvm.yml: gradle/actions/setup-gradle@v3
Browse files Browse the repository at this point in the history
Upgrade to gradle/actions/setup-gradle@v3, which claims to be
backward-compatible with v2 (with the exception of requiring node 20)

The `arguments` parameter is now
deprecated (it is recommended to "setup" in one step and to
use the standard "run" action in a separate step), see:


See: gradle/gradle-build-action#996

However, for this PR we'll just upgrade to the latest version. We'll
deal with the deprecation in a separate PR.
  • Loading branch information
msgilligan committed Jan 31, 2024
1 parent e3ca334 commit bc19052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
distribution: ${{ matrix.distribution }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.8.0
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: ${{ matrix.gradle }}
arguments: test nativeCompile --init-script build-scan-agree.gradle --scan --info --stacktrace
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.8.0
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: ${{ matrix.gradle }}
arguments: -PtestJdk8=true build --init-script build-scan-agree.gradle --scan --info --stacktrace
Expand Down

0 comments on commit bc19052

Please sign in to comment.