Commit 0488b3c9 authored by nanahira's avatar nanahira

Update .gitlab-ci.yml, run.sh files

parent ce5a26f9
Pipeline #35704 canceled with stages
in 1 minute and 59 seconds
......@@ -15,7 +15,7 @@ check:
script:
- apt update --allow-insecure-repositories && apt -y install sqlite3 git curl
- wget -O cards.cdb https://cdn02.moecube.com:444/ygopro-database/zh-CN/cards.cdb
- bash -x ./run.sh
- bash ./run.sh
variables:
YGOPRO_SERVER_PATH: /ygopro-server/ygopro
SIZE_LIMIT_MB: 100
......
......@@ -196,6 +196,8 @@ process_repo() {
echo "Finished processing $repo_identifer"
}
set -x
# run for each line in each text in repos/*.txt
for file in repos/*.txt; do
[ -e "$file" ] || continue # 避免 repos 目录为空时报错
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment