Fix makefile vendor problem (#533)
Replace #532 Co-authored-by: techknowlogick <techknowlogick@gitea.io> Reviewed-on: https://gitea.com/gitea/tea/pulls/533 Reviewed-by: John Olheiser <john+gitea@jolheiser.com> Reviewed-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
committed by
John Olheiser
parent
faa9858a7e
commit
1a6d9b343a
@@ -7,13 +7,6 @@ platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: vendor
|
||||
pull: always
|
||||
image: golang:1.20
|
||||
environment:
|
||||
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
|
||||
commands:
|
||||
- make vendor # use vendor folder as cache
|
||||
|
||||
- name: build
|
||||
pull: always
|
||||
|
||||
Reference in New Issue
Block a user