fix: update env
This commit is contained in:
parent
ba5bfb359c
commit
6e8ca613f7
3 changed files with 8 additions and 1 deletions
.gitea/workflows
|
@ -4,6 +4,10 @@ on:
|
|||
push:
|
||||
branches: [ main ]
|
||||
|
||||
env:
|
||||
GOPATH: /go_path
|
||||
GOCACHE: /go_cache
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -5,6 +5,10 @@ on:
|
|||
tags:
|
||||
- '*'
|
||||
|
||||
env:
|
||||
GOPATH: /go_path
|
||||
GOCACHE: /go_cache
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -4,7 +4,6 @@ on:
|
|||
- pull_request
|
||||
|
||||
env:
|
||||
GOPROXY: https://goproxy.io,direct
|
||||
GOPATH: /go_path
|
||||
GOCACHE: /go_cache
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue