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:
Lunny Xiao
2023-02-09 11:05:39 +08:00
committed by John Olheiser
parent faa9858a7e
commit 1a6d9b343a
2 changed files with 12 additions and 19 deletions

View File

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