From cb8136c8fedb4fbca6b5dcd93bf74c8cdcb7fcde Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 15:42:39 +0200 Subject: [PATCH] Update package workflow --- .github/workflows/package.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 672f52568..f0972893f 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -44,7 +44,7 @@ jobs: - name: Cache APT Packages uses: awalsh128/cache-apt-pkgs-action@v1.3.0 with: - packages: "build-essential ffmpeg tini curl libjemalloc-dev libjemalloc2 uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev" + packages: "build-essential binfmt-support qemu-user-static ffmpeg tini curl libjemalloc-dev libjemalloc2 uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev" - name: Cache node modules uses: actions/cache@v3 @@ -53,6 +53,10 @@ jobs: key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }} restore-keys: v1-npm-deps- + - uses: MOZGIII/install-ldid-action@v1 + with: + tag: v2.1.5-procursus2 + - name: Build run: | corepack enable @@ -61,5 +65,5 @@ jobs: npm install -g pkg pnpm run build cd packages/backend - pkg --public ./built/boot/entry.js + pkg --debug --public ./built/boot/entry.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64 ls