We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2afe4c8 commit 7625258Copy full SHA for 7625258
.github/workflows/gradle.yml
@@ -17,13 +17,12 @@ jobs:
17
os: [ubuntu-latest, macos-latest, windows-latest]
18
runs-on: ${{ matrix.os }}
19
steps:
20
- - uses: actions/checkout@v2
21
- - uses: actions/setup-java@v1
+ - uses: actions/checkout@v6
+ - uses: actions/setup-java@v5
22
with:
23
- java-version: 11
24
- - name: Grant execute permission for gradlew
25
- run: chmod +x gradlew
+ java-version: 21
+ distribution: "temurin"
+ cache: "gradle"
26
+
27
- name: Build everything and run all tests
- uses: gradle/gradle-build-action@v2
28
- with:
29
- arguments: build
+ run: ./gradlew build
0 commit comments