summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-02-29 14:37:16 -0600
committerSean E. Russell <ser@ser1.net>2020-02-29 14:37:16 -0600
commit39668553e4b95093d077685b7b42dc23becd5f1c (patch)
tree81b6d6acff071fd7eef52c311cdfae4ac4b082ce
parent6dc2ff1fc68e320f5fc28befb03d7a7939551e6c (diff)
Github actions, upload built artifacts
-rw-r--r--.github/workflows/go.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index b5d214e..5a545df 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -13,3 +13,12 @@ jobs:
uses: xxxserxxx/actions/golang-build@master
with:
args: darwin/amd64/1 darwin/386/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64 windows/386 freebsd/amd64 freebsd/386
+ env:
+ COMPRESS_FILES: true
+
+ - id: getfilename
+ run: echo "::set-output name=file::$(ls /github/workspace/.release/*.tgz /github/workspace/.release/*.zip)"
+
+ - uses: actions/upload-artifact@v1
+ with:
+ path: ${{ steps.getfilename.outputs.file }}