Skip to content

Commit

Permalink
Use go install instead of go get to install build tools in CI bui…
Browse files Browse the repository at this point in the history
…ld script
  • Loading branch information
nirui committed Jan 20, 2023
1 parent a7286b4 commit f784c60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ SSHWIFTY_LAST_TAG_NAME=HEAD~1
if [ "$SSHWIFTY_DEPLOY" = 'yes' ]; then
echo 'Downloading compile & deploy tools ...'

[ "$(which ghr)" != '' ] || catch retry go get -v github.com/tcnksm/ghr
[ "$(which gox)" != '' ] || catch retry go get -v github.com/mitchellh/gox
[ "$(which ghr)" != '' ] || catch retry go install -v github.com/tcnksm/ghr@latest
[ "$(which gox)" != '' ] || catch retry go install -v github.com/mitchellh/gox@latest

echo 'Fetching extra references from the repository ...'

Expand Down

0 comments on commit f784c60

Please sign in to comment.