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 }}