Skip to content

Commit 7a62a23

Browse files
committed
skipped tests dont affect workflow
1 parent e5f11db commit 7a62a23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/reusable_image_release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ jobs:
123123
release-integration:
124124
name: Publish container images to registry
125125
needs: [test-nix, test-windows, integration-tests]
126+
if: |
127+
always() &&
128+
(needs.integration-tests.result == 'success' || needs.integration-tests.result == 'skipped') &&
129+
(needs.test-nix.result == 'success' || needs.test-nix.result == 'skipped') &&
130+
(needs.test-windows.result == 'success' || needs.test-windows.result == 'skipped')
126131
runs-on: ubuntu-latest
127132
steps:
128133
- name: checkout

0 commit comments

Comments
 (0)