mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-16 04:03:17 +08:00
⚡️ 添加条件判断以控制调试和发布构建
This commit is contained in:
2
.github/workflows/debug.yml
vendored
2
.github/workflows/debug.yml
vendored
@@ -78,6 +78,7 @@ jobs:
|
||||
|
||||
# Build Debug
|
||||
- name: Build debug app
|
||||
if: github.event.inputs.build-debug == 'true'
|
||||
uses: tauri-apps/tauri-action@dev
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -103,6 +104,7 @@ jobs:
|
||||
path: TeyvatGuide_${{ env.COMMIT_HASH }}_arm-debug.dmg
|
||||
# Build Release
|
||||
- name: Build app
|
||||
if: github.event.inputs.build-release == 'true'
|
||||
uses: tauri-apps/tauri-action@dev
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user