build: update depends

This commit is contained in:
MystiPanda
2024-07-02 12:14:30 +08:00
Unverified
parent f6ba6d0310
commit cff0ea425c
9 changed files with 220 additions and 242 deletions

View File

@@ -2,4 +2,4 @@ pnpm install
pnpm check $INPUT_TARGET
sed -i "s/#openssl/openssl={version=\"0.10\",features=[\"vendored\"]}/g" src-tauri/Cargo.toml
cargo tauri build --target $INPUT_TARGET
pnpm build --target $INPUT_TARGET

View File

@@ -5,8 +5,6 @@ tar -Jxvf ./node-v20.10.0-linux-x64.tar.xz
export PATH=$(pwd)/node-v20.10.0-linux-x64/bin:$PATH
npm install pnpm -g
cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli
rustup target add "$INPUT_TARGET"
if [ "$INPUT_TARGET" = "x86_64-unknown-linux-gnu" ]; then

View File

@@ -49,13 +49,6 @@ jobs:
cache-all-crates: true
cache-on-failure: true
- name: Install Tauri CLI
uses: baptiste0928/cargo-install@v3
with:
crate: tauri-cli
git: https://github.com/tauri-apps/tauri
branch: 1.x # `branch` and `commit` are also supported
- name: Install Node
uses: actions/setup-node@v4
with:
@@ -90,7 +83,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
@@ -174,13 +167,6 @@ jobs:
cache-all-crates: true
cache-on-failure: true
- name: Install Tauri CLI
uses: baptiste0928/cargo-install@v3
with:
crate: tauri-cli
git: https://github.com/tauri-apps/tauri
branch: 1.x # `branch` and `commit` are also supported
- name: Install Node
uses: actions/setup-node@v4
with:
@@ -212,7 +198,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

View File

@@ -41,13 +41,6 @@ jobs:
workspaces: src-tauri
cache-all-crates: true
- name: Install Tauri CLI
uses: baptiste0928/cargo-install@v3
with:
crate: tauri-cli
git: https://github.com/tauri-apps/tauri
branch: 1.x # `branch` and `commit` are also supported
- name: Install Node
uses: actions/setup-node@v4
with:
@@ -80,7 +73,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,13 +153,6 @@ jobs:
with:
workspaces: src-tauri
- name: Install Tauri CLI
uses: baptiste0928/cargo-install@v3
with:
crate: tauri-cli
git: https://github.com/tauri-apps/tauri
branch: 1.x # `branch` and `commit` are also supported
- name: Install Node
uses: actions/setup-node@v4
with:
@@ -198,7 +184,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