mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-21 05:25:45 +08:00
✅ 打包测试x3
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -11,14 +11,20 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [windows-latest, macos-latest]
|
settings:
|
||||||
runs-on: ${{ matrix.platform }}
|
- platform: windows-latest
|
||||||
|
args: "--verbose"
|
||||||
|
- platform: macos-latest
|
||||||
|
args: "--target x86_64-apple-darwin"
|
||||||
|
- platform: macos-latest
|
||||||
|
args: "--target aarch64-apple-darwin"
|
||||||
|
runs-on: ${{ matrix.settings.platform }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Add Rust targets(macOS)
|
- name: Add Rust targets(macOS)
|
||||||
if: matrix.platform == 'macos-latest'
|
if: matrix.settings.platform == 'macos-latest'
|
||||||
run: rustup target add aarch64-apple-darwin
|
run: rustup target add aarch64-apple-darwin
|
||||||
|
|
||||||
- name: Rust setup
|
- name: Rust setup
|
||||||
@@ -46,6 +52,7 @@ jobs:
|
|||||||
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||||
with:
|
with:
|
||||||
|
args: ${{ matrix.settings.args }}
|
||||||
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
|
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
|
||||||
releaseName: v__VERSION__-beta
|
releaseName: v__VERSION__-beta
|
||||||
releaseBody: |
|
releaseBody: |
|
||||||
|
|||||||
Reference in New Issue
Block a user