Skip to content

Commit 4007c5d

Browse files
committed
fix(ci): fix skip in publish job
1 parent e3d4c7e commit 4007c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
185185
publish:
186186
runs-on: ubuntu-latest
187-
if: ${{ github.repository == 'aws-powertools/powertools-lambda-java' && inputs.skip_publish == false }}
187+
if: ${{ github.repository == 'aws-powertools/powertools-lambda-java' && inputs.skip_publish == false && always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
188188
needs:
189189
- build
190190
environment: Release

0 commit comments

Comments
 (0)