Skip to content

Commit

Permalink
updated jdk versions for module and plugin compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Feb 24, 2024
1 parent 9a778c7 commit 2c46acf
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/publish-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,25 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: [ '8', '11', '17', '18' ]
jdk: [ '11', '17', '21' ] # removed JDK due to plugin errors

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
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 }}
- uses: eskatos/gradle-command-action@v1
with:
arguments: check -x test --console=plain --warning-mode all
cache: 'gradle'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Execute Gradle build
run: ./gradlew check -x test --console=plain --warning-mode all

publish:
name: Publish Artifact
Expand All @@ -36,7 +41,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
Expand Down

0 comments on commit 2c46acf

Please sign in to comment.