Skip to content

Commit 1c6d34e

Browse files
committed
chore(actions): update actions workflow
1 parent ebd69cd commit 1c6d34e

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7-
81
name: Java CI with Gradle
92

103
on:
@@ -22,13 +15,13 @@ jobs:
2215
runs-on: ubuntu-latest
2316

2417
steps:
25-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
2619
- name: Set up JDK 18
27-
uses: actions/setup-java@v3
20+
uses: actions/setup-java@v4
2821
with:
2922
java-version: '18'
3023
distribution: 'temurin'
3124
- name: Build with Gradle
32-
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
33-
with:
34-
arguments: build
25+
uses: gradle/actions/setup-gradle@v3-beta
26+
- name: Build with Gradle
27+
run: ./gradlew build

0 commit comments

Comments
 (0)