mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-25 10:05:49 +08:00
修改构建上传方式
This commit is contained in:
23
.github/workflows/publish.yml
vendored
23
.github/workflows/publish.yml
vendored
@@ -537,3 +537,26 @@ jobs:
|
||||
|
||||
# 执行上传
|
||||
python cnb_release.py cnb_config.json
|
||||
|
||||
cnb_trigger:
|
||||
if: github.repository_owner == 'babalae'
|
||||
needs: [validate, build_dist, build_installer]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install requests
|
||||
|
||||
- name: Trigger CNB Build
|
||||
env:
|
||||
CNB_TOKEN: ${{ secrets.CNB_TOKEN }}
|
||||
run: |
|
||||
python .github/workflows/cnb_trigger.py "$CNB_TOKEN"
|
||||
|
||||
Reference in New Issue
Block a user