From 4c60a2a9672a0a5832263c4d30a2843b729bc0f4 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Tue, 22 Dec 2020 19:52:44 +1100 Subject: [PATCH] trialing github release actions --- .github/workflows/release.yml | 5 ++++- scripts/xcompile.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4bcac76..d5a0b1b 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 9ee2885..e90e9d9 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