打包测试x3

This commit is contained in:
BTMuli
2023-12-09 13:44:14 +08:00
parent ad55e56651
commit e94e3a6821

View File

@@ -11,14 +11,20 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
settings:
- 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:
- name: Checkout
uses: actions/checkout@v3
- name: Add Rust targets(macOS)
if: matrix.platform == 'macos-latest'
if: matrix.settings.platform == 'macos-latest'
run: rustup target add aarch64-apple-darwin
- name: Rust setup
@@ -46,6 +52,7 @@ jobs:
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
args: ${{ matrix.settings.args }}
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: v__VERSION__-beta
releaseBody: |