From 83d09be1273e3a45880e16ef8efeb132778fd6f6 Mon Sep 17 00:00:00 2001 From: j m <1406993111@qq.com> Date: Sun, 29 Dec 2024 09:23:50 +0800 Subject: [PATCH] 1.3.6 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 578e1cc..614a77a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,10 +84,10 @@ jobs: asset_content_type: application/zip - name: npm ci - if: ${{ env.branch_type != 'master' }} + if: ${{ env.branch_type == 'master' }} run: npm ci - name: npm publish - if: ${{ env.branch_type != 'master' }} + if: ${{ env.branch_type == 'master' }} run: npm publish --tag=latest env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}