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 2a91ffb
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 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,7 +47,7 @@ jobs:
runs-on: ${{ matrix.distro }}
strategy:
matrix:
distro: [ubuntu22.04]
distro: [ubuntu-22.04]
arch: [aarch64, x64]
node-version: [20.x]
steps:
Expand All @@ -69,15 +69,18 @@ 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
apt update && apt upgrade -y && apt install -y curl unzip
curl -fsSL https://fnm.vercel.app/install | bash
fnm install ${{ matrix.node-version }}
fnm use ${{ matrix.node-version }}
rm -rf node_modules && npm i
export PATH="/root/.local/share/fnm:$PATH"
eval "`fnm env`"
source /root/.bashrc
run: |
npm i
npm run build:release -- --only-build
- name: Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit 2a91ffb

Please sign in to comment.