From b94b45681b80822e36c60c86d45dfe00a7bff3ff Mon Sep 17 00:00:00 2001 From: Fazri Gading Date: Sun, 25 Jan 2026 17:14:34 +0800 Subject: [PATCH] fix: add deps for bsdtar --- .github/workflows/release.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d004eef..55b39d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,12 +22,21 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: '22' - cache: 'npm' - - run: npm ci + cache: 'npm' + + # ONLY RUNS ON LINUX: Required for pacman/bsdtar + - name: Install Linux build dependencies + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install -y libarchive-tools - name: Build for ${{ matrix.os }} run: npm run build:${{ matrix.platform }}