diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4bcac765..d5a0b1b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,10 @@ jobs: # steps for building assets - name: Cross compile - run: ./scripts/xcompile.sh + run: | + sudo apt-get rhash + go get github.com/mitchellh/gox + ./scripts/xcompile.sh - name: Create Release id: create_release diff --git a/scripts/xcompile.sh b/scripts/xcompile.sh index 9ee28855..e90e9d9e 100755 --- a/scripts/xcompile.sh +++ b/scripts/xcompile.sh @@ -1,5 +1,5 @@ #!/bin/bash - +set -e # This assumes that gonative and gox is installed as per the 'one time setup' instructions # at https://github.com/inconshreveable/gonative