forked from OneDragon-Anything/ZenlessZoneZero-OneDragon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cnb.yml
More file actions
20 lines (20 loc) · 684 Bytes
/
Copy path.cnb.yml
File metadata and controls
20 lines (20 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
main:
web_trigger_release:
- docker:
image: python:3.11
stages:
- name: 同步最新 GitHub Release
timeout: 21600000
script: |
python -m pip install --disable-pip-version-check requests==2.32.3
python tools/ci/sync_github_release_to_cnb.py
api_trigger_release:
- docker:
image: python:3.11
stages:
- name: 同步指定 GitHub Release
timeout: 21600000
script: |
test -n "$RELEASE_TAG"
python -m pip install --disable-pip-version-check requests==2.32.3
python tools/ci/sync_github_release_to_cnb.py --release-tag "$RELEASE_TAG"