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