Skip to content

Commit

Permalink
feat: add java21 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
o-liver committed Apr 9, 2024
1 parent 25edb95 commit 21f5739
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
base-image-tag: [16-bullseye, 18-bullseye, 16-bookworm, 18-bookworm, 20-bookworm]
base-image-tag: [16-bullseye, 18-bullseye, 16-bookworm, 18-bookworm, 20-bookworm, 18-bookworm-java21, 20-bookworm-java21]
steps:
- uses: actions/checkout@v3
- name: Determine Java version
id: java_version
run: |
if [[ "${{ matrix.base-image-tag }}" == *"-bullseye" ]]; then
echo 'version=11' >> $GITHUB_OUTPUT
elif [[ "${{ matrix.base-image-tag }}" == *"-java21" ]]; then
echo 'version=21' >> $GITHUB_OUTPUT
else
echo 'version=17' >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 21f5739

Please sign in to comment.