From 23fde06e8cf753301f3f27a04e3afe34c73a407a Mon Sep 17 00:00:00 2001 From: marherb <1014287974@qq.com> Date: Sat, 4 May 2024 21:24:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci(workflow):=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=89=93=E5=8C=85=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 51adbcb..de3adb4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,8 +2,7 @@ name: Build and Publish on: push: - tags: - - v* + branches: [ main ] jobs: build-and-publish: @@ -11,10 +10,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: '18' registry-url: 'https://registry.npmjs.org'