小调整
parent
df0fe69315
commit
68a16e2686
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildArm64-and-upload:
|
buildArm64-and-upload:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04-arm64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -38,21 +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"
|
# - name: "build native modules using another arch"
|
||||||
uses: uraimo/run-on-arch-action@v2.3.0
|
# uses: uraimo/run-on-arch-action@v2.3.0
|
||||||
with:
|
# with:
|
||||||
arch: aarch64
|
# arch: aarch64
|
||||||
distro: ubuntu20.04
|
# distro: ubuntu20.04
|
||||||
githubToken: ${{ github.token }}
|
# githubToken: ${{ github.token }}
|
||||||
dockerRunArgs: |
|
# dockerRunArgs: |
|
||||||
--volume "/home/runner:/home/runner"
|
# --volume "/home/runner:/home/runner"
|
||||||
install: |
|
# install: |
|
||||||
apt-get update && apt-get install curl -y
|
# apt-get update && 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
|
||||||
corepack enable
|
# corepack enable
|
||||||
run: |
|
# run: |
|
||||||
uname -a
|
# uname -a
|
||||||
# chmod -R 777 /build
|
# chmod -R 777 /build
|
||||||
# cd /build
|
# cd /build
|
||||||
# pnpm config set store-dir /home/runner/.local/share/pnpm/store/v3
|
# pnpm config set store-dir /home/runner/.local/share/pnpm/store/v3
|
||||||
|
|
Loading…
Reference in New Issue