From 4f30c42989f2489fd332bc15a074d98b0cb7c331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=90=91=E5=A4=9C?= Date: Mon, 18 Nov 2024 21:18:54 +0800 Subject: [PATCH] ci(release): fix release ci --- .github/workflows/covector-version-or-publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 808cea4..b624e4e 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -67,10 +67,10 @@ jobs: args: "--target aarch64-apple-darwin" - platform: "macos-latest" # for Intel based macs. args: "--target x86_64-apple-darwin" - - platform: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04. + - platform: "ubuntu-22.04" args: "" - platform: "windows-latest" - args: "" + args: "--target x86_64-pc-windows-msvc" steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 @@ -88,6 +88,8 @@ jobs: - name: Install Rust stable uses: dtolnay/rust-toolchain@stable with: + toolchain: nightly + components: rustfmt, clippy # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - name: Install dependencies (ubuntu only)