Skip to content

Commit 7625258

Browse files
committed
Update build action
1 parent 2afe4c8 commit 7625258

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/gradle.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ jobs:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.os }}
1919
steps:
20-
- uses: actions/checkout@v2
21-
- uses: actions/setup-java@v1
20+
- uses: actions/checkout@v6
21+
- uses: actions/setup-java@v5
2222
with:
23-
java-version: 11
24-
- name: Grant execute permission for gradlew
25-
run: chmod +x gradlew
23+
java-version: 21
24+
distribution: "temurin"
25+
cache: "gradle"
26+
2627
- name: Build everything and run all tests
27-
uses: gradle/gradle-build-action@v2
28-
with:
29-
arguments: build
28+
run: ./gradlew build

0 commit comments

Comments
 (0)