Skip to content

Commit 132233a

Browse files
committed
Fix skip conditions
1 parent 7fa243a commit 132233a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish-docker-images.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
150150
publish-dependency-image:
151151
needs: prepare
152-
if: ( !failure() && !cancelled() && inputs.publish_dependency == 'true' )
152+
if: ( !failure() && !cancelled() && inputs.publish_dependency )
153153
strategy:
154154
matrix:
155155
arch: [amd64, arm64]
@@ -161,7 +161,7 @@ jobs:
161161
contents: read
162162
steps:
163163
- name: Free Disk Space (Ubuntu)
164-
uses: jlumbroso/[email protected]
164+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
165165
with:
166166
tool-cache: false
167167
docker-images: false
@@ -256,7 +256,7 @@ jobs:
256256
fi
257257
258258
create-dependency-manifest:
259-
if: ( !failure() && !cancelled() && inputs.publish_dependency == 'true' )
259+
if: ( !failure() && !cancelled() && inputs.publish_dependency )
260260
needs: [prepare, publish-dependency-image]
261261
runs-on: ubuntu-latest
262262
environment: release
@@ -319,7 +319,7 @@ jobs:
319319
fi
320320
321321
publish-presto-image:
322-
if: (!failure() && !cancelled() && inputs.publish_presto == 'true')
322+
if: (!failure() && !cancelled() && inputs.publish_presto)
323323
needs: prepare
324324
runs-on: ubuntu-latest
325325
environment: release
@@ -335,7 +335,7 @@ jobs:
335335
fi
336336
337337
- name: Free Disk Space (Ubuntu)
338-
uses: jlumbroso/[email protected]
338+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
339339
with:
340340
tool-cache: false
341341
docker-images: false
@@ -423,7 +423,7 @@ jobs:
423423
${{ inputs.tag_latest == 'true' && format('{0}/{1}:latest', env.ORG_NAME, env.PRESTO_IMAGE_NAME) || '' }}
424424
425425
publish-prestissimo-image:
426-
if: (!failure() && !cancelled() && inputs.publish_prestissimo == 'true')
426+
if: (!failure() && !cancelled() && inputs.publish_prestissimo)
427427
needs: [prepare, publish-dependency-image]
428428
strategy:
429429
matrix:
@@ -437,7 +437,7 @@ jobs:
437437
contents: read
438438
steps:
439439
- name: Free Disk Space (Ubuntu)
440-
uses: jlumbroso/[email protected]
440+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
441441
with:
442442
tool-cache: false
443443
docker-images: false
@@ -562,7 +562,7 @@ jobs:
562562
fi
563563
564564
create-prestissimo-manifest:
565-
if: (!failure() && !cancelled() && inputs.publish_prestissimo == 'true')
565+
if: (!failure() && !cancelled() && inputs.publish_prestissimo)
566566
needs: [prepare, publish-prestissimo-image]
567567
runs-on: ubuntu-latest
568568
environment: release

0 commit comments

Comments
 (0)