From 029fc03a9476824b009a5bba0924967dcbdf9975 Mon Sep 17 00:00:00 2001 From: xiliu Date: Thu, 24 Oct 2024 19:28:57 +0800 Subject: [PATCH] Update registry-publish.yml --- .github/workflows/registry-publish.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/registry-publish.yml b/.github/workflows/registry-publish.yml index c1c1c2a..1665e86 100644 --- a/.github/workflows/registry-publish.yml +++ b/.github/workflows/registry-publish.yml @@ -1,14 +1,17 @@ name: publish package to registry on: - release: - types: [created] + push: + branches: + - V3 jobs: - deploy: + release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - run: git config --global core.symlinks false + shell: bash + - uses: actions/checkout@v4 - uses: actions/setup-node@v2 with: node-version: 16 @@ -25,4 +28,4 @@ jobs: s registry login --token ${{ secrets.alibaba_registry_v3_publish_token }} - name: release prod run: | - s registry publish \ No newline at end of file + s registry publish