From 547e9d65455662ac5e6577a1d623bdf1f25f6e37 Mon Sep 17 00:00:00 2001 From: 0x219 Date: Mon, 12 Dec 2022 07:54:57 +0800 Subject: [PATCH] Fix invalid release CI --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9cbf452..cc18ced 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,13 +36,13 @@ jobs: - name: Install dependencies run: pnpm install # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release - - name: Publish pre-release version - if: success() && github.event.type == 'published' - run: pnpm release:pre - env: - VSCE_PAT: ${{ secrets.VSCE_PAT }} + # - name: Publish pre-release version + # if: success() && github.event.type == 'published' + # run: pnpm release:pre + # env: + # VSCE_PAT: ${{ secrets.VSCE_PAT }} - name: Publish official version - if: success() && github.event.type == 'prereleased' + if: success() run: pnpm release env: VSCE_PAT: ${{ secrets.VSCE_PAT }}