Skip to content

Commit

Permalink
build-packages: Fix the handling of provenance artifacts
Browse files Browse the repository at this point in the history
The current version of the SLSA framework uses upload-artifact v3
which is not compatible with download-artifact v4 (don't ask me).
  • Loading branch information
rgacogne authored and Habbie committed Mar 22, 2024
1 parent 0d638f1 commit 3f8fbad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ jobs:
steps:
- name: Download source tarball provenance for ${{ inputs.product }} (${{ inputs.ref }})
id: download-src-provenance
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3 # we need v3, see https://github.com/slsa-framework/slsa-github-generator/pull/3067/files
with:
name: "${{ inputs.product }}-${{ needs.build.outputs.version }}-src.intoto.jsonl"
- name: Download provenance for ${{ inputs.product }} (${{ inputs.ref }}) for ${{ matrix.os }}
id: download-provenance
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3 # we need v3, see https://github.com/slsa-framework/slsa-github-generator/pull/3067/files
with:
name: "${{ inputs.product }}-${{ needs.build.outputs.version }}-${{ matrix.os}}.intoto.jsonl"
- name: Upload provenance artifacts to downloads.powerdns.com
Expand Down

0 comments on commit 3f8fbad

Please sign in to comment.