From ac0f03020bb6dfb3fec2061fe8cbf1a0bf4646ab Mon Sep 17 00:00:00 2001 From: TangRufus Date: Mon, 23 Sep 2024 02:11:10 +0100 Subject: [PATCH] ready --- .github/workflows/go-release.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 98cb5e0..46635ae 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -77,15 +77,15 @@ jobs: subject-path: ${{ matrix.attestation.subject }} sbom-path: ${{ matrix.attestation.sbom }} - verify-attest: - needs: [release, attest-build-provenance, attest-sbom] - runs-on: ubuntu-latest - steps: - - run: gh release download -R $REPO $TAG -D artifacts - env: - REPO: ${{ github.repository }} - TAG: ${{ github.ref_name }} - - run: ls | xargs -I {} gh attestation verify --repo $REPO {} - working-directory: artifacts - env: - REPO: ${{ github.repository }} + verify-attestation: + needs: [release, attest-build-provenance, attest-sbom] + runs-on: ubuntu-latest + steps: + - run: gh release download --clobber -D artifacts -R $REPO $TAG + env: + REPO: ${{ github.repository }} + TAG: ${{ github.ref_name }} + - run: ls | xargs -I {} gh attestation verify --repo $REPO {} + working-directory: artifacts + env: + REPO: ${{ github.repository }}