fix: package error

This commit is contained in:
MystiPanda 2024-06-04 10:47:17 +08:00
parent 13babbf330
commit bfea70eec9
No known key found for this signature in database
2 changed files with 4 additions and 16 deletions

View File

@ -43,9 +43,6 @@ jobs:
with: with:
workspaces: src-tauri workspaces: src-tauri
- name: Install Tauri CLI
run: cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli
- name: Install Node - name: Install Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@ -75,7 +72,7 @@ jobs:
releaseBody: "More new features are now supported." releaseBody: "More new features are now supported."
releaseDraft: false releaseDraft: false
prerelease: true prerelease: true
tauriScript: cargo tauri tauriScript: pnpm
args: --target ${{ matrix.target }} args: --target ${{ matrix.target }}
- name: Portable Bundle - name: Portable Bundle
@ -168,9 +165,6 @@ jobs:
with: with:
workspaces: src-tauri workspaces: src-tauri
- name: Install Tauri CLI
run: cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli
- name: Install Node - name: Install Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@ -203,7 +197,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:
tauriScript: cargo tauri tauriScript: pnpm
args: --target ${{ matrix.target }} args: --target ${{ matrix.target }}
- name: Rename - name: Rename

View File

@ -40,9 +40,6 @@ jobs:
with: with:
workspaces: src-tauri workspaces: src-tauri
- name: Install Tauri CLI
run: cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli
- name: Install Node - name: Install Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@ -70,7 +67,7 @@ jobs:
tagName: v__VERSION__ tagName: v__VERSION__
releaseName: "Clash Verge Rev v__VERSION__" releaseName: "Clash Verge Rev v__VERSION__"
releaseBody: "More new features are now supported." releaseBody: "More new features are now supported."
tauriScript: cargo tauri tauriScript: pnpm
args: --target ${{ matrix.target }} args: --target ${{ matrix.target }}
- name: Portable Bundle - name: Portable Bundle
@ -160,9 +157,6 @@ jobs:
with: with:
workspaces: src-tauri workspaces: src-tauri
- name: Install Tauri CLI
run: cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli
- name: Install Node - name: Install Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@ -195,7 +189,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:
tauriScript: cargo tauri tauriScript: pnpm
args: --target ${{ matrix.target }} args: --target ${{ matrix.target }}
- name: Rename - name: Rename