Skip to content

Commit

Permalink
Fix setting version
Browse files Browse the repository at this point in the history
  • Loading branch information
o-liver committed Jul 27, 2023
1 parent 334d8ef commit 0ddd11a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
id: java_version
run: |
if [[ "${{ matrix.base-image-tag }}" == *"-buster" ]] || [[ "${{ matrix.base-image-tag }}" == *"-bullseye" ]]; then
echo "::set-output name=version::11"
echo 'version=11' >> $GITHUB_OUTPUT
else
echo "::set-output name=version::17"
echo 'version=17' >> $GITHUB_OUTPUT
fi
- name: Test
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
id: java_version
run: |
if [[ "${{ matrix.base-image-tag }}" == *"-buster" ]] || [[ "${{ matrix.base-image-tag }}" == *"-bullseye" ]]; then
echo "::set-output name=version::11"
echo 'version=11' >> $GITHUB_OUTPUT
else
echo "::set-output name=version::17"
echo 'version=17' >> $GITHUB_OUTPUT
fi
- name: Test
run: |
Expand Down

0 comments on commit 0ddd11a

Please sign in to comment.