Skip to content

Commit

Permalink
chore: uodate npm publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverEllipsis committed Aug 22, 2024
1 parent bc1b862 commit 9717e01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:

jobs:
build-and-publish:
# ['Unit Tests', 'Code Check']工作流成功完成
# git tags中包含Publish 且 ['Unit Tests', 'Code Check']工作流成功完成
if: >
github.event.workflow_run.conclusion == 'success'
startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'Publish') && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- name: Check out code
Expand Down

0 comments on commit 9717e01

Please sign in to comment.