11# install-github-release-binary
22
3- [ ![ Build Status]] ( https://github.com/EricCrosson /install-github-release-binary/actions/workflows/release.yml )
3+ [ ![ Build Status]] ( https://github.com/BitGo /install-github-release-binary/actions/workflows/release.yml )
44
5- [ build status ] : https://github.com/EricCrosson /install-github-release-binary/actions/workflows/release.yml/badge.svg?event=push
5+ [ build status ] : https://github.com/BitGo /install-github-release-binary/actions/workflows/release.yml/badge.svg?event=push
66
77** install-github-release-binary** is an opinionated GitHub Action for adding a binary from a GitHub Release to your CI ` $PATH ` .
88
@@ -18,7 +18,6 @@ This action only supports installing from releases where the release:
1818
1919- is tagged with the full ` {major}.{minor}.{patch} ` semantic version
2020- contains raw binary assets (archives not supported)
21- - assets are labeled with the binary name and [ target triple] in the format ` <binary name>-<target triple> `
2221
2322You can create compatible releases with [ semantic-release] , using a workflow like [ semantic-release-action/rust] .
2423
@@ -32,35 +31,45 @@ Use this action in a step:
3231
3332``` yaml
3433- name : Install flux-capacitor
35- uses : EricCrosson /install-github-release-binary@v2
34+ uses : BitGo /install-github-release-binary@v2
3635 with :
37- targets : EricCrosson /flux-capacitor@v1
36+ targets : BitGo /flux-capacitor@v1
3837` ` `
3938
4039> [!NOTE]
4140> I recommend adding an explicit step name, otherwise the step will only reference
42- > ` EricCrosson /install-github-release-binary@v2`, not your targets.
41+ > ` BitGo /install-github-release-binary@v2`, not your targets.
4342
4443Install multiple binaries :
4544
4645` ` ` yaml
4746- name: Install future tools
48- uses: EricCrosson /install-github-release-binary@v2
47+ uses: BitGo /install-github-release-binary@v2
4948 with:
5049 targets: |
51- EricCrosson /flux-capacitor@v1
52- EricCrosson /steam-locomotive@v7.5.3
53- EricCrosson /hoverboard@11.7.3:sha256-8a4600be96d2ec013209042458ce97a9652fcc46c1c855d0217aa42e330fc06e
50+ BitGo /flux-capacitor@v1
51+ BitGo /steam-locomotive@v7.5.3
52+ BitGo /hoverboard@11.7.3:sha256-8a4600be96d2ec013209042458ce97a9652fcc46c1c855d0217aa42e330fc06e
5453` ` `
5554
5655Install a binary from a release with multiple binaries available :
5756
5857` ` ` yaml
5958- name: Install flux-capacitor
60- uses: EricCrosson /install-github-release-binary@v2
59+ uses: BitGo /install-github-release-binary@v2
6160 with:
6261 targets: |
63- EricCrosson/future-tools/flux-capacitor@v1
62+ BitGo/future-tools/flux-capacitor@v1
63+ ` ` `
64+
65+ Install a specific binary with checksum validation :
66+
67+ ` ` ` yaml
68+ - name: Install argocd CLI
69+ uses: BitGo/install-github-release-binary@v2
70+ with:
71+ targets: |
72+ argoproj/argo-cd/argocd-linux-amd64@v3.1.4:sha256-7def0aa3cc9ebcd6acdddc27244e7ea4de448d872a9ab0cf6cab4b1e653841a6
6473` ` `
6574
6675# # Inputs
@@ -82,11 +91,11 @@ Optionally, include:
8291
8392Examples :
8493
85- - ` EricCrosson /flux-capacitor@v1`
86- - ` EricCrosson /flux-capacitor@v1.2`
87- - ` EricCrosson /flux-capacitor@v1.2.3`
88- - ` EricCrosson /flux-capacitor@v1.2.3:sha256-ad91159c656d427ad8fe5ded2946f29f3a612c6b7a4af6129e9aa85256b7299e`
89- - ` EricCrosson /future-tools/flux-capacitor@v1`
94+ - ` BitGo /flux-capacitor@v1`
95+ - ` BitGo /flux-capacitor@v1.2`
96+ - ` BitGo /flux-capacitor@v1.2.3`
97+ - ` BitGo /flux-capacitor@v1.2.3:sha256-ad91159c656d427ad8fe5ded2946f29f3a612c6b7a4af6129e9aa85256b7299e`
98+ - ` BitGo /future-tools/flux-capacitor@v1`
9099
91100[semantic version number] : https://semver.org/
92101
0 commit comments