diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 106e0a7..4dfc358 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - uses: yanhao98/semantic-release-example@main + - uses: yanhao98/semantic-release-action@main id: release - name: Print the new release version run: | diff --git a/README.md b/README.md index 714da63..750daaf 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ BREAKING CHANGE: ## 参考 --- +- https://github.dev/cycjimmy/semantic-release-action - [Can I run semantic-release on my local machine rather than on a CI server?](https://semantic-release.gitbook.io/semantic-release/support/faq#can-i-run-semantic-release-on-my-local-machine-rather-than-on-a-ci-server) - [Can I use semantic-release to publish non-JavaScript packages?](https://semantic-release.gitbook.io/semantic-release/support/faq#can-i-use-semantic-release-to-publish-non-javascript-packages) - [pre-release-branches](https://semantic-release.gitbook.io/semantic-release/usage/workflow-configuration#pre-release-branches) diff --git a/action.yml b/action.yml index d49ef74..e4c1c6a 100644 --- a/action.yml +++ b/action.yml @@ -5,8 +5,10 @@ branding: icon: 'heart' color: 'red' outputs: + next_release_published: + description: '新版本是否已发布' next_release_version: - description: 'Version of the new release' + description: '新版本号' runs: # pre: 'index.mjs' using: 'node20'