mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
update builder script
This commit is contained in:
+2
-2
@@ -45,9 +45,9 @@ builder:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
script:
|
||||
- go mod tidy
|
||||
- set -e
|
||||
- |
|
||||
if [ -d "../artifacts" ]; then
|
||||
if [ ! -d "../artifacts" ]; then
|
||||
mkdir -p ../artifacts
|
||||
fi
|
||||
if [ -d "../artifacts/dist" ]; then
|
||||
|
||||
Reference in New Issue
Block a user