diff --git a/.github/workflows/buildArm64-and-release.yml b/.github/workflows/buildArm64-and-release.yml index 6dcb4e3..cf50558 100644 --- a/.github/workflows/buildArm64-and-release.yml +++ b/.github/workflows/buildArm64-and-release.yml @@ -38,27 +38,21 @@ jobs: echo "github.ref = ${{ github.ref }}"; echo "github.ref_name = ${{ github.ref_name }}"; - - name: "build native modules using another arch" - uses: uraimo/run-on-arch-action@v2.3.0 - with: - arch: aarch64 - distro: ubuntu20.04 - githubToken: ${{ github.token }} - 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: | - uname -a -# 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 + # step 2 + - name: "Set up QEMU" + id: qemu + uses: docker/setup-qemu-action@v3 + # step 3 + - name: "Build with Maven on 'arm64v8/ubuntu:20.04' OS" + run: | + docker run --rm \ + -v /home/runner:/home/runner \ + --workdir=/ws \ + arm64v8/ubuntu:20.04 \ + bash -exc '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'; - name: "npm install -g lerna@6/yarn" run: |