From c901472198adc9990a7ee9ee8f1aa74314d50423 Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Tue, 4 Jun 2024 10:47:17 +0800 Subject: [PATCH] fix: package error --- .github/workflows/alpha.yml | 10 ++-------- .github/workflows/release.yml | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 846d845b..b540e417 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -43,9 +43,6 @@ jobs: with: 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 uses: actions/setup-node@v4 with: @@ -75,7 +72,7 @@ jobs: releaseBody: "More new features are now supported." releaseDraft: false prerelease: true - tauriScript: cargo tauri + tauriScript: pnpm args: --target ${{ matrix.target }} - name: Portable Bundle @@ -168,9 +165,6 @@ jobs: with: 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 uses: actions/setup-node@v4 with: @@ -203,7 +197,7 @@ jobs: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} with: - tauriScript: cargo tauri + tauriScript: pnpm args: --target ${{ matrix.target }} - name: Rename diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00f3e5c5..6518f395 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,9 +40,6 @@ jobs: with: 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 uses: actions/setup-node@v4 with: @@ -70,7 +67,7 @@ jobs: tagName: v__VERSION__ releaseName: "Clash Verge Rev v__VERSION__" releaseBody: "More new features are now supported." - tauriScript: cargo tauri + tauriScript: pnpm args: --target ${{ matrix.target }} - name: Portable Bundle @@ -160,9 +157,6 @@ jobs: with: 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 uses: actions/setup-node@v4 with: @@ -195,7 +189,7 @@ jobs: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} with: - tauriScript: cargo tauri + tauriScript: pnpm args: --target ${{ matrix.target }} - name: Rename