Skip to content

Commit

Permalink
chore: 发布测试
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKam committed Feb 18, 2024
1 parent 3d94661 commit f6527e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
pull-requests: write
issues: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
Expand All @@ -46,13 +46,13 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Format publish log
id: publish_log
uses: actions/github-script@v4
uses: actions/github-script@v7
if: steps.changesets.outputs.published == 'true'
with:
script: |
console.log(`log=${
console.log(JSON.stringify(`log=${
${{ steps.changesets.outputs.publishedPackages }}.map(({name,version}) => ' - '+name+'@'+version).join('\n')
} >> $GITHUB_OUTPUT`)
}`), '>> $GITHUB_OUTPUT')
- name: Dingtalk Notify
uses: zcong1993/actions-ding@master
if: steps.changesets.outputs.published == 'true'
Expand Down

0 comments on commit f6527e8

Please sign in to comment.