Skip to content

Commit

Permalink
🐛 Fix: Build Multi archs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu11-A committed May 4, 2024
2 parents 68b01fd + c878043 commit 4c46028
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
prepare:
name: Prepare job
runs-on: ubuntu22.04
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]
Expand Down Expand Up @@ -47,16 +47,13 @@ jobs:
runs-on: ${{ matrix.distro }}
strategy:
matrix:
distro: [ubuntu22.04]
distro: [ubuntu-22.04]
arch: [aarch64, x64]
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Display structure
run: ls

- uses: actions/download-artifact@v4
with:
github-token: ${{ github.token }}
Expand All @@ -69,15 +66,15 @@ jobs:
id: build
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
distro: ubuntu22.04
githubToken: ${{ github.token }}
install: |
apt update && apt upgrade -y && apt install -y curl
curl -fsSL https://fnm.vercel.app/install | bash
fnm install ${{ matrix.node-version }}
fnm use ${{ matrix.node-version }}
rm -rf node_modules && npm i
apt update && apt upgrade -y && apt install -y curl unzip ca-certificates curl gnupg
curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
bash nodesource_setup.sh
apt update && apt install -y nodejs
run: |
npm i
npm run build:release -- --only-build
- name: Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit 4c46028

Please sign in to comment.