From a0850202757ed5dc4eb793d7b68f90519885a9e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=90=91=E5=A4=9C?= <46275354+fu050409@users.noreply.github.com> Date: Mon, 18 Nov 2024 21:23:53 +0800 Subject: [PATCH] ci(release): fix release ci (#1) * ci(release): fix release ci * chore: bump version --- .changes/release-nightly.md | 5 +++++ .github/workflows/covector-version-or-publish.yml | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .changes/release-nightly.md diff --git a/.changes/release-nightly.md b/.changes/release-nightly.md new file mode 100644 index 0000000..e0ea72b --- /dev/null +++ b/.changes/release-nightly.md @@ -0,0 +1,5 @@ +--- +"algohub": patch:chore +--- + +Release for nightly build 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)