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