Skip to content

Commit

Permalink
chore(build): Update setup-gradle action
Browse files Browse the repository at this point in the history
v4 includes wrapper validation by default without a separate action
  • Loading branch information
jpenilla committed Sep 11, 2024
1 parent dea8582 commit 07c85af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
with:
# allow master and *-dev branches to write caches (default is only master/main)
cache-read-only: ${{ github.ref != 'refs/heads/master' && !(endsWith(github.ref, '-dev') && startsWith(github.ref, 'refs/heads/')) }}
Expand Down

0 comments on commit 07c85af

Please sign in to comment.