File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,23 @@ inputs:
2727runs :
2828 using : " composite"
2929 steps :
30- - name : Check out repository
31- uses : actions/checkout@v2
32- with :
33- repository : charlieegan3/fetch-gh-release-binary
3430 - run : |
35- go run main.go \
31+ VERSION=0.3.1
32+ ASSET_NAME=fetch-gh-release-binary_0.3.1_Linux_amd64.tar.gz
33+ BINARY_NAME=fetch-gh-release-binary
34+
35+ curl -LO https://github.com/charlieegan3/fetch-gh-release-binary/releases/download/$VERSION/$ASSET_NAME
36+ tar -zxf $ASSET_NAME
37+
38+ ./$BINARY_NAME \
3639 "-owner=${{ inputs.owner }}" \
3740 "-repo=${{ inputs.repo }}" \
3841 "-version=${{ inputs.version }}" \
3942 "-asset-pattern=${{ inputs.asset-pattern }}" \
4043 "-install-path=${{ inputs.install-path }}" \
4144 "-verbose=${{ inputs.verbose }}"
45+
46+ rm $BINARY_NAME
4247 shell: bash
4348branding :
4449 icon : arrow-down-circle
You can’t perform that action at this time.
0 commit comments