fix: update env

This commit is contained in:
Jason Song 2023-04-19 17:45:39 +08:00
parent ba5bfb359c
commit 6e8ca613f7
No known key found for this signature in database
GPG key ID: 8402EEEE4511A8B5
3 changed files with 8 additions and 1 deletions

View file

@ -4,6 +4,10 @@ on:
push:
branches: [ main ]
env:
GOPATH: /go_path
GOCACHE: /go_cache
jobs:
goreleaser:
runs-on: ubuntu-latest

View file

@ -5,6 +5,10 @@ on:
tags:
- '*'
env:
GOPATH: /go_path
GOCACHE: /go_cache
jobs:
goreleaser:
runs-on: ubuntu-latest

View file

@ -4,7 +4,6 @@ on:
- pull_request
env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache