From 522d04ddec33e961c91d27715e5c71a73d0c8cae Mon Sep 17 00:00:00 2001 From: John Murret Date: Tue, 27 Jun 2023 22:47:25 -0600 Subject: [PATCH] add skip --- .github/workflows/reusable-verify-release-zip.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable-verify-release-zip.yaml b/.github/workflows/reusable-verify-release-zip.yaml index a4ae3446fdd7..7d0c29ef4a49 100644 --- a/.github/workflows/reusable-verify-release-zip.yaml +++ b/.github/workflows/reusable-verify-release-zip.yaml @@ -40,7 +40,8 @@ jobs: { os: "solaris", arch: "amd64" }, { os: "windows", arch: "386" }, { os: "windows", arch: "amd64" } - ] + ], + verify: true }, { product: consul, @@ -57,7 +58,8 @@ jobs: { os: "solaris", arch: "amd64" }, { os: "windows", arch: "386" }, { os: "windows", arch: "amd64" } - ] + ], + verify: true }, { product: consul, @@ -68,12 +70,14 @@ jobs: { os: "linux", arch: "arm64" }, { os: "windows", arch: "amd64" }, { os: "windows", arch: "arm64" } - ] + ], + verify: ${{ inputs.include-fips }} } ] fail-fast: false steps: - name: verify zips + if: ${{ matrix.release.verify }} run: | zips=$(echo '${{ toJSON(matrix.release.targets) }}' | jq -r 'map("${{ matrix.release.product }}" + "${{ matrix.release.suffix }}" + "_" + "${{ inputs.version }}" + "_" + .os + "_" + .arch + ".zip" )| join("|")' ) expected=$(echo '${{ toJSON(matrix.release.targets) }}' | jq length)