Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: dont skip blob upload (#39385)

Simon Knott9c813afaea73
diff --git a/.github/actions/download-artifact/action.yml b/.github/actions/download-artifact/action.yml
index d5dd4bea89..641f72083d 100644
--- a/.github/actions/download-artifact/action.yml
+++ b/.github/actions/download-artifact/action.yml
@@ -40,5 +40,7 @@ runs:
- name: Unzip artifacts
shell: bash
run: |
- unzip -n '${{ inputs.path }}/artifacts/*.zip' -d ${{ inputs.path }}
+ if ls '${{ inputs.path }}/artifacts'/*.zip 1>/dev/null 2>&1; then
+ unzip -n '${{ inputs.path }}/artifacts/*.zip' -d ${{ inputs.path }}
+ fi
rm -rf '${{ inputs.path }}/artifacts'
diff --git a/.github/actions/run-test/action.yml b/.github/actions/run-test/action.yml
index 3d589e4011..34944f57ae 100644
--- a/.github/actions/run-test/action.yml
+++ b/.github/actions/run-test/action.yml
@@ -86,6 +86,7 @@ runs:
if: ${{ !cancelled() }}
shell: bash
- name: Upload blob report
+ if: ${{ !cancelled() }}
uses: ./.github/actions/upload-blob-report
with:
report_dir: blob-report
diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml
index ab217efb10..6258a602d1 100644
--- a/.github/workflows/tests_primary.yml
+++ b/.github/workflows/tests_primary.yml
@@ -182,6 +182,7 @@ jobs:
env:
PW_TAG: "@vscode-extension"
- name: Upload blob report
+ if: ${{ !cancelled() }}
uses: ./.github/actions/upload-blob-report
with:
report_dir: playwright-vscode/blob-report