Commit 19403b97 authored by nanahira's avatar nanahira

Update .gitlab-ci.yml

parent 8390f9bb
...@@ -77,6 +77,24 @@ json2: ...@@ -77,6 +77,24 @@ json2:
paths: paths:
- test-release-v2.json - test-release-v2.json
neos:
stage: pack
dependencies:
- merge_databases
tags:
- linux
script:
- apt update && apt -y install sqlite3
- mkdir neos
- sqlite3 test-release.cdb >> ygopro-super-pre-neos.sql
- sqlite3 test-update.cdb >> ygopro-super-pre-neos.sql
- wget -O cards.cdb https://code.mycard.moe/mycard/ygopro-database/-/raw/master/locales/zh-CN/cards.cdb
- sqlite3 cards.cdb >> ygopro-super-pre-neos.sql
- cat ygopro-super-pre-neos.sql | sqlite3 neos/ygopro-super-pre-neos.sql || true
artifacts:
paths:
- neos
pack: pack:
stage: pack stage: pack
dependencies: dependencies:
...@@ -150,6 +168,15 @@ upload_data: ...@@ -150,6 +168,15 @@ upload_data:
only: only:
- tags - tags
upload_neos:
extends: .minio
variables:
uploadDir: neos
dependencies:
- neos
only:
- master
upload_version_json: upload_version_json:
extends: .minio extends: .minio
script: script:
......
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