Skip to content

Commit

Permalink
Fix java version in artifact publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
TrojanerHD committed Sep 20, 2023
1 parent 2f77998 commit 77ad96e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup JDK 8
- name: Setup JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 8
java-version: 17

- name: Setup Gradle cache
uses: actions/cache@v2
with:
path: ~/.gradle
key: ${{ runner.os }}-8-gradle-${{ hashFiles('build.gradle') }}
key: ${{ runner.os }}-17-gradle-${{ hashFiles('build.gradle') }}
restore-keys: |
${{ runner.os }}-8-gradle
${{ runner.os }}-17-gradle
- name: Check
run: ./gradlew check
Expand Down

0 comments on commit 77ad96e

Please sign in to comment.