From 259d03989b94ab159ee1780c8c575499e56dd00a Mon Sep 17 00:00:00 2001 From: femshima <49227365+femshima@users.noreply.github.com> Date: Thu, 14 Dec 2023 21:38:07 +0900 Subject: [PATCH] add apt update --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2be3492..c39e543 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,7 +110,7 @@ jobs: - name: Package prebuild run: | - sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package build_aarch64_node_ge_18: @@ -135,7 +135,7 @@ jobs: - name: Package prebuild run: | - sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package build_musl_aarch64: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 050b2be..64a3d30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,7 +125,7 @@ jobs: - name: Package prebuild run: | - sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package - name: Upload prebuild asset @@ -157,7 +157,7 @@ jobs: - name: Package prebuild run: | - sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package - name: Upload prebuild asset