Install packages by cargo
or go_install
if the asset for the platform isn't released in GitHub Releases
#2026
-
Feature OverviewInstall packages by Why is the feature needed?To support platforms where a tool doesn't provide assets. For example, some Of course we can achieve this using type: go_install
path: github.com/slsa-framework/slsa-verifier/v2/cli/slsa-verifier
asset: slsa-verifier
overrides:
- goos: linux
goarch: amd64
type: github_release
asset: slsa-verifier-{{.OS}}-{{.Arch}}
format: raw But I'd like to provide the simple way to achieve this. Does the feature include Breaking Changes?No. Example Coderegistry.yaml type: github_release
asset: slsa-verifier-{{.OS}}-{{.Arch}}
format: raw
supported_envs:
- linux/amd64
go_path: github.com/slsa-framework/slsa-verifier/v2/cli/slsa-verifier # New! If the platform isn't contained in Reference |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
There are two issues.
|
Beta Was this translation helpful? Give feedback.
-
I created a related discussion. |
Beta Was this translation helpful? Give feedback.
-
Moved to #2132 |
Beta Was this translation helpful? Give feedback.
Moved to #2132