From 13622bcc381969ae7b98b02d7897ff73182f4882 Mon Sep 17 00:00:00 2001 From: Starry North Date: Fri, 8 Dec 2023 12:59:45 +0800 Subject: [PATCH] Update CI.yml --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7ad8f42..a319a6a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -189,7 +189,7 @@ jobs: rustup default nightly rustup target add aarch64-unknown-linux-musl build: |- - ls -R $HOME/.cargo/bin + cargo cd /addon npm install PATH="$HOME/.cargo/bin:$PATH" PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-musl npm run build @@ -207,7 +207,7 @@ jobs: npm install n -g n stable build: |- - ls -R $HOME/.cargo/bin + cargo cd /addon npm install PATH="$HOME/.cargo/bin:$PATH" PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-gnu npm run build