小调整 7

王良 3 weeks ago
parent c218765678
commit 57d30ab77c

@ -38,27 +38,21 @@ jobs:
echo "github.ref = ${{ github.ref }}"; echo "github.ref = ${{ github.ref }}";
echo "github.ref_name = ${{ github.ref_name }}"; echo "github.ref_name = ${{ github.ref_name }}";
- name: "build native modules using another arch" # step 2
uses: uraimo/run-on-arch-action@v2.3.0 - name: "Set up QEMU"
with: id: qemu
arch: aarch64 uses: docker/setup-qemu-action@v3
distro: ubuntu20.04 # step 3
githubToken: ${{ github.token }} - name: "Build with Maven on 'arm64v8/ubuntu:20.04' OS"
dockerRunArgs: | run: |
--volume "/home/runner:/home/runner" docker run --rm \
install: | -v /home/runner:/home/runner \
apt-get update && apt-get install curl -y --workdir=/ws \
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - arm64v8/ubuntu:20.04 \
apt-get install -y nodejs gcc g++ make bash -exc 'apt-get update && apt-get install curl -y \
corepack enable curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
run: | apt-get install -y nodejs gcc g++ make \
uname -a corepack enable';
# chmod -R 777 /build
# cd /build
# pnpm config set store-dir /home/runner/.local/share/pnpm/store/v3
# pnpm install
# cd icalingua
# pnpm build:electron install-app-deps
- name: "npm install -g lerna@6/yarn" - name: "npm install -g lerna@6/yarn"
run: | run: |

Loading…
Cancel
Save