-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document that actions/download-artifact@v3 must be used to download p…
…rovenance (#3067) Fixes #3066 --------- Signed-off-by: Jürgen Kreileder <[email protected]> Co-authored-by: laurentsimon <[email protected]>
- Loading branch information
1 parent
71334cc
commit 9093407
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,7 @@ project simply generates provenance as a separate step in an existing workflow. | |
- [Skip output 'hashes' since it may contain secret](#skip-output-hashes-since-it-may-contain-secret) | ||
- ['internal error' when using `upload-assets`](#internal-error-when-using-upload-assets) | ||
- [error updating to TUF remote mirror: tuf: invalid key](#error-updating-to-tuf-remote-mirror-tuf-invalid-key) | ||
- [Compatibility with `actions/download-artifact`](#compatibility-with-actionsdownload-artifact) | ||
|
||
<!-- tocstop --> | ||
|
||
|
@@ -1467,3 +1468,12 @@ using a release tag in order to allow verification by `slsa-verifier`. | |
```yaml | ||
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected] | ||
``` | ||
|
||
### Compatibility with `actions/download-artifact` | ||
|
||
To download provenance (e.g., if you don't use `upload-assets`) you have to | ||
use [`actions/download-artifact@v3`](https://github.com/actions/download-artifact). | ||
The workflow uses [`actions/upload-artifact@3`](https://github.com/actions/upload-artifact) | ||
which is | ||
[not compatible](https://github.com/actions/download-artifact?tab=readme-ov-file#breaking-changes) | ||
with `actions/download-artifact@v4`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ This document explains how to use the builder for [Go](https://go.dev/) projects | |
- [BuildConfig Format](#buildconfig-format) | ||
- [Known Issues](#known-issues) | ||
- [error updating to TUF remote mirror: tuf: invalid key](#error-updating-to-tuf-remote-mirror-tuf-invalid-key) | ||
- [Compatibility with `actions/download-artifact`](#compatibility-with-actionsdownload-artifact) | ||
|
||
<!-- tocstop --> | ||
|
||
|
@@ -421,3 +422,12 @@ release tag in order to allow verification by `slsa-verifier`. | |
```yaml | ||
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected] | ||
``` | ||
|
||
### Compatibility with `actions/download-artifact` | ||
|
||
To download provenance (e.g., if you don't use `upload-assets`) you have to | ||
use [`actions/download-artifact@v3`](https://github.com/actions/download-artifact). | ||
The workflow uses [`actions/upload-artifact@3`](https://github.com/actions/upload-artifact) | ||
which is | ||
[not compatible](https://github.com/actions/download-artifact?tab=readme-ov-file#breaking-changes) | ||
with `actions/download-artifact@v4`. |