23:尝试使用宿主机的环境变量和npm配置

build-arm64
王良 2 weeks ago
parent 80a1888e53
commit ff855b57d5

@ -90,7 +90,8 @@ jobs:
docker run --rm \
-v ${{ github.workspace }}:/workspace:rw --workdir=/workspace \
--platform linux/arm64 arm64v8/ubuntu:20.04 \
bash -exc 'apt-get update && \
bash -exc 'ls -lah && \
apt-get update && \
apt-get install curl -y && \
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs gcc g++ make && \
@ -100,7 +101,6 @@ jobs:
node -p "process.arch" && \
lerna -v && \
npm -v && \
ls -lah && \
cd packages/gui && \
ls -lah && \
npm run electron:build && \

Loading…
Cancel
Save