Skip to content

Commit

Permalink
Set up JDK 21 before preparing release (#533)
Browse files Browse the repository at this point in the history
* set up jdk 21 before preparing release

* fix the missing jdk change for integration-test
  • Loading branch information
goldmedal authored Apr 22, 2024
1 parent 453094d commit 1f5d250
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
)
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'adopt'
distribution: 'temurin'
java-version: '21'
- uses: actions/cache@v3
with:
path: ~/.m2/repository
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
run: |
git config --global user.email "[email protected]"
git config --global user.name "stable-release-bot"
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'
- name: Maven Prepare Release
id: maven_prepare_release
run: |
Expand All @@ -31,12 +37,6 @@ jobs:
git push
git push origin $version_number
echo "version_number=$version_number" >> $GITHUB_OUTPUT
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'
- name: Build
run: |
./mvnw clean install -B -DskipTests -P exec-jar
Expand Down

0 comments on commit 1f5d250

Please sign in to comment.