Skip to content

Commit 40e089a

Browse files
authored
[CI] Don't pack/upload Windows E2E binaries if job cancelled (#18140)
We already do this on Linux but missed it here. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent fcec14d commit 40e089a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sycl-windows-run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,12 @@ jobs:
209209
rm e2econf_files.txt
210210
211211
- name: Pack E2E test binaries
212-
if: ${{ always() && inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode == 'build-only' }}
212+
if: ${{ always() && !cancelled() && inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode == 'build-only' }}
213213
shell: bash
214214
run: |
215215
tar -czf e2e_bin.tar.gz -C build-e2e .
216216
- name: Upload E2E test binaries
217-
if: ${{ always() && inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode == 'build-only' }}
217+
if: ${{ always() && !cancelled() && inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode == 'build-only' }}
218218
uses: actions/upload-artifact@v4
219219
with:
220220
name: ${{ inputs.e2e_binaries_artifact }}

0 commit comments

Comments
 (0)