From 4d8ee9f65428a695d18f02e1d5f88c0efabfc848 Mon Sep 17 00:00:00 2001 From: msojocs Date: Sat, 16 Nov 2024 18:34:19 +0800 Subject: [PATCH 1/2] fix: ci --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f524413..cdc3062 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -192,7 +192,9 @@ jobs: BUILD_ARCH: ${{ matrix.ARCH }} run: | sudo npm install asar -g - npm install + corepack enable pnpm + corepack use pnpm@latest + pnpm install echo "$UID, $GID" - name: Generate TAG From c705f74ba09dbff20a537cbfd06781c91a8c9b20 Mon Sep 17 00:00:00 2001 From: msojocs Date: Sat, 16 Nov 2024 18:41:04 +0800 Subject: [PATCH 2/2] fix: ci --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cdc3062..2098c45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -221,9 +221,9 @@ jobs: tools/build-prepare.sh asar e app/app.asar app/app if [[ "$BUILD_ARCH" == loong* ]];then - npm run pkg-loongarch + pnpm run pkg-loongarch else - npm run pkg-linux + pnpm run pkg-linux fi rm -rf tmp/build/*-unpacked # tools/build-appimage.sh ${{ steps.tag.outputs.tag }} ${{ matrix.ARCH }}