Skip to content

Commit

Permalink
update GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SingingBush committed Apr 25, 2023
1 parent cb2304f commit 72b682d
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/gradle.yml
Expand Up @@ -11,17 +11,20 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: [ '8', '11', '17', '18' ]
jdk: [ '8', '11', '17', '18', '20' ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.jdk }}
cache: 'gradle'

- uses: eskatos/gradle-command-action@v1
with:
arguments: check --console=plain --warning-mode all
Expand All @@ -32,14 +35,16 @@ jobs:
if: ${{ needs.gradle.result == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
java-version: 8
cache: 'gradle'

- uses: eskatos/gradle-command-action@v1
with:
Expand Down

0 comments on commit 72b682d

Please sign in to comment.