diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 56e667269c..b8fd1fe312 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,6 @@ jobs: with: base64-subjects: "${{ needs.goreleaser.outputs.hashes }}" upload-assets: true - compile-generator: true # Workaround for https://github.com/slsa-framework/slsa-github-generator/issues/1163 verification: needs: [goreleaser, provenance] @@ -93,11 +92,12 @@ jobs: - name: Download assets env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PROVENANCE: "${{ needs.provenance.outputs.attestation-name }}" run: | set -euo pipefail gh -R "$GITHUB_REPOSITORY" release download "$GITHUB_REF_NAME" -p "*.tar.gz" - gh -R "$GITHUB_REPOSITORY" release download "$GITHUB_REF_NAME" -p "attestation.intoto.jsonl" + gh -R "$GITHUB_REPOSITORY" release download "$GITHUB_REF_NAME" -p "$PROVENANCE" - name: Verify assets env: