Skip to content

Commit

Permalink
Update github actions java version
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueZeeKing committed Apr 25, 2024
1 parent 9d13b63 commit 3055e29
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 17
- name: setup jdk 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 17
- name: setup jdk 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: javadoc
Expand All @@ -25,4 +25,4 @@ jobs:
target_branch: gh-pages
build_dir: build/docs/javadoc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 17
- name: setup jdk 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build and generate javadoc
Expand Down

0 comments on commit 3055e29

Please sign in to comment.