Skip to content

Commit 175ace1

Browse files
committed
update skip checks
1 parent fd7df6a commit 175ace1

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: aws-powertools_ubuntu-latest_8-core
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)