From 0bb774f2c232d28d3412f1fbf8f8ec7e9f10558a Mon Sep 17 00:00:00 2001 From: BTMuli Date: Fri, 9 May 2025 23:33:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20=E8=B0=83=E6=95=B4=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aba74367..7aa185e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,12 +42,14 @@ jobs: run: ssh -T git@github.com || true - name: Rust setup uses: dtolnay/rust-toolchain@stable + - name: Add Rust targets(macOS Intel) if: matrix.settings.target == 'macos-intel' run: rustup target add x86_64-apple-darwin - name: Add Rust targets(macOS ARM) if: matrix.settings.target == 'macos-arm' run: rustup target add aarch64-apple-darwin + - name: setup node uses: actions/setup-node@v3 with: @@ -60,8 +62,14 @@ jobs: run: pnpm install - name: Update version run: pnpm upv ${{ github.event.inputs.version }} + - name: Build app run: pnpm build --target ${{ matrix.settings.args }} + if: matrix.settings.args != '' + - name: Build app (no target) + run: pnpm build + if: matrix.settings.args == '' + - name: Upload Artifact uses: actions/upload-artifact@v4 with: