Skip to content

Commit a04ccfd

Browse files
committed
fix strategy
1 parent da965fa commit a04ccfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/openjdk-base-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
obaas-image:
2525
strategy:
2626
matrix:
27-
base_version: ${{ github.event.inputs.base_version != '' && [github.event.inputs.base_version] || [17, 21, 24] }}
27+
base_version: ${{ github.event.inputs.base_version != '' && fromJSON('["' + github.event.inputs.base_version + '"]') || fromJSON('["17","21","24"]') }}
2828
runs-on: ubuntu-latest
2929
permissions:
3030
packages: write

0 commit comments

Comments
 (0)