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

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

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

Loading…
Cancel
Save