Skip to content

Commit

Permalink
Update github checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe42 committed Sep 14, 2023
1 parent c9d17bf commit 1148ff7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/gradle-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1

- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 19
java-version: 20
java-package: jre
cache: 'gradle'
- run: printf "org.gradle.java.home=%s" "$JAVA_HOME" > gradle.properties
Expand All @@ -36,5 +37,3 @@ jobs:
- name: Gradle Check
run: ./gradlew -PtargetJava=21 check --warning-mode=all --stacktrace --no-daemon

- uses: gradle/wrapper-validation-action@v1

5 changes: 2 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1

- uses: actions/setup-java@v3
with:
Expand All @@ -36,5 +37,3 @@ jobs:

- name: Gradle Check
run: ./gradlew -PtargetJava=20 check --stacktrace --no-daemon

- uses: gradle/wrapper-validation-action@v1
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1

- uses: actions/setup-java@v3
with:
Expand All @@ -35,8 +36,6 @@ jobs:
- name: Gradle Check
run: ./gradlew check -PtargetJava=20 --stacktrace

- uses: gradle/wrapper-validation-action@v1

- name: Github Packages
run: ./gradlew -PtargetJava=20 :json-iterator:publish
env:
Expand Down

0 comments on commit 1148ff7

Please sign in to comment.