修改gitlab-ci.yml

This commit is contained in:
sk 2024-11-05 17:27:09 +08:00
parent 8444db2e85
commit b21bafe1aa
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ default:
tags: tags:
- gitlab - gitlab
cache:
paths:
- $GOPATH/pkg/mod/
policy: pull-push
# 锁定作业,防止并发流水线执行 # 锁定作业,防止并发流水线执行
lock_job: lock_job:
stage: lock stage: lock