Skip to content

Commit

Permalink
ci(release): fix release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Nov 18, 2024
1 parent 5569afe commit 4f30c42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 4f30c42

Please sign in to comment.