From ae4e792f084652e2bf9b72310d0a1e32a9fd7671 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Fri, 20 Sep 2024 14:24:35 +0800 Subject: [PATCH] fix: revert --- .github/workflows/CI.yml | 9 +++++---- rust-toolchain.toml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 705762a..b0e2056 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,7 +3,7 @@ env: DEBUG: napi:* APP_NAME: svgr-rs MACOSX_DEPLOYMENT_TARGET: '10.13' -'on': +on: push: branches: - main @@ -82,9 +82,10 @@ jobs: - host: ubuntu-latest target: x86_64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian - build: | - set -e - yarn build --target x86_64-unknown-linux-gnu + build: |- + set -e && + rustup default nightly-2023-06-27 && + yarn build --target x86_64-unknown-linux-gnu && strip *.node - host: macos-latest target: aarch64-apple-darwin diff --git a/rust-toolchain.toml b/rust-toolchain.toml index a966ae3..249e540 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,4 +2,4 @@ profile = "default" # Use nightly for better access to the latest Rust features. # This date is aligned to stable release dates. -channel = "nightly-2024-06-07" +channel = "nightly-2024-04-16"