小调整 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: |
--volume "/home/runner:/home/runner"
install: |
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
corepack enable
run: | run: |
uname -a docker run --rm \
# chmod -R 777 /build -v /home/runner:/home/runner \
# cd /build --workdir=/ws \
# pnpm config set store-dir /home/runner/.local/share/pnpm/store/v3 arm64v8/ubuntu:20.04 \
# pnpm install bash -exc 'apt-get update && apt-get install curl -y \
# cd icalingua curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
# pnpm build:electron install-app-deps apt-get install -y nodejs gcc g++ make \
corepack enable';
- name: "npm install -g lerna@6/yarn" - name: "npm install -g lerna@6/yarn"
run: | run: |

Loading…
Cancel
Save