From 14cd7953f3643629ac2719e343ddc57c0dfaaba8 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 22 Mar 2024 21:22:19 +0100 Subject: [PATCH] devops(merge): validate zip before uploading (#30061) --- .github/actions/upload-blob-report/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/upload-blob-report/action.yml b/.github/actions/upload-blob-report/action.yml index 43ef983e27..72a084142a 100644 --- a/.github/actions/upload-blob-report/action.yml +++ b/.github/actions/upload-blob-report/action.yml @@ -12,6 +12,9 @@ inputs: runs: using: "composite" steps: + - name: Integrity check + shell: bash + run: find "${{ inputs.report_dir }}" -name "*.zip" -exec unzip -t {} \; - name: Upload blob report to GitHub if: ${{ !cancelled() && github.event_name == 'pull_request' }} uses: actions/upload-artifact@v4