From 9e4e9a21c0cd9340de6a9196060514229c220ac7 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Mon, 3 Jul 2023 14:41:48 +0800 Subject: [PATCH] chore: install pnpm and dont release just handle it manual --- .github/workflows/desktop-build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 1cb3cb45..f8364afd 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -27,7 +27,10 @@ jobs: node-version: 16 - name: Install global dependencies - run: pnpm install + uses: pnpm/action-setup@v2.0.1 + with: + version: latest + run_install: true - name: Install npm dependencies run: yarn @@ -42,6 +45,7 @@ jobs: # (No need to define this secret in the repo settings) github_token: ${{ secrets.github_token }} - # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} + release: false + # # If the commit is tagged with a version (e.g. "v1.0.0"), + # # release the app after building + # release: ${{ startsWith(github.ref, 'refs/tags/v') }}