Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #690 from FortnoxAB/fix_jdk21_build
Browse files Browse the repository at this point in the history
Use java 21 for all builds
  • Loading branch information
flowertwig authored Jan 31, 2024
2 parents d347445 + f14ea91 commit d7e2a67
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,24 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.tag }}
- name: 'Download latest JDK 17'
- name: 'Download latest JDK 21'
run: |
wget \
--no-verbose \
--directory-prefix $RUNNER_TEMP \
https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz
https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.tar.gz
- name: 'Set up JDK'
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: jdkfile
jdkFile: ${{ runner.temp }}/jdk-17_linux-x64_bin.tar.gz
jdkFile: ${{ runner.temp }}/jdk-21_linux-x64_bin.tar.gz
- name: Set up Java for publishing to Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: jdkfile
jdkFile: ${{ runner.temp }}/jdk-17_linux-x64_bin.tar.gz
jdkFile: ${{ runner.temp }}/jdk-21_linux-x64_bin.tar.gz
server-id: ossrh
server-username: USER_NAME
server-password: PASSWORD
Expand Down

0 comments on commit d7e2a67

Please sign in to comment.