fix(release): golang env

This commit is contained in:
henry.chen
2021-10-27 09:06:37 +08:00
parent dc3e6659b5
commit 4f6f85a85a

View File

@@ -40,13 +40,14 @@ jobs:
run: scripts/run_build.sh deepzz0 ${{ steps.vars.outputs.tag }}
- name: Package tar
env:
GOPROXY: https://goproxy.io,direct
run: scripts/dist_tar.sh ${{ steps.vars.outputs.tag }}
- name: Release push
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPROXY: https://goproxy.io,direct
with:
files: |
*.tar.gz