Skip to content

Commit

Permalink
change default jdk version to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Jun 22, 2024
1 parent 32103da commit a99fbf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
fail-fast: false
matrix:
java: ['8', '11', '17', '21']
distribution: ['temurin', 'zulu', 'corretto']
distribution: ['temurin', 'corretto', 'zulu']
extra: ['false', 'true']

uses: ./.github/workflows/image_one.yml
Expand All @@ -96,8 +96,8 @@ jobs:
image_tag_maker_script: |-
let targetTags = []
process.env.BASE_TARGET_TAGS.split('\n').forEach(tag => {
targetTags.push(`type=raw,value=${tag},enable=${{ matrix.extra == 'false' && matrix.java == '17' }}`)
targetTags.push(`type=raw,value=${tag}-extra,enable=${{ matrix.extra == 'true' && matrix.java == '17' }}`)
targetTags.push(`type=raw,value=${tag},enable=${{ matrix.extra == 'false' && matrix.java == '21' }}`)
targetTags.push(`type=raw,value=${tag}-extra,enable=${{ matrix.extra == 'true' && matrix.java == '21' }}`)
targetTags.push(`type=raw,value=${tag}-jdk${{ matrix.java }},enable=${{ matrix.extra == 'false' }}`)
targetTags.push(`type=raw,value=${tag}-jdk${{ matrix.java }}-extra,enable=${{ matrix.extra == 'true' }}`)
})
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Supported OpenJDK distributions:

Supported java version: 8, 11, 17, 21

Default JDK version: 17
Default JDK version: 21

`-extra` suffix means with [extra](#extra) packages

Expand Down

0 comments on commit a99fbf9

Please sign in to comment.