Skip to content

Commit 739e4bf

Browse files
committed
Migrate gradle/actions/setup-gradle v5
1 parent edf630c commit 739e4bf

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,12 @@ jobs:
1818
with:
1919
java-version: 8
2020
distribution: temurin
21-
- name: 'Init Gradle Build Action'
22-
uses: gradle/gradle-build-action@v3
21+
- name: Init Gradle Build Action
22+
uses: gradle/actions/setup-gradle@v5
2323
with:
24-
# cache options only count for the first invocation
25-
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
26-
arguments: --version
24+
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
2725
- name: 'Check Spock'
28-
uses: gradle/gradle-build-action@v3
29-
with:
30-
arguments: check
26+
run: ./gradlew check
3127
check-maven:
3228
runs-on: ubuntu-latest
3329
steps:

0 commit comments

Comments
 (0)