mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-08 03:06:55 +00:00
docs(readme): use v2 in example
This commit is contained in:
parent
cf5f706ea8
commit
cd22d88ccf
1 changed files with 4 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ A simple example
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- name: Semantic Release
|
- name: Semantic Release
|
||||||
uses: cycjimmy/semantic-release-action@v1
|
uses: cycjimmy/semantic-release-action@v2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
@ -41,7 +41,7 @@ An advanced example
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- name: Semantic Release
|
- name: Semantic Release
|
||||||
uses: cycjimmy/semantic-release-action@v1
|
uses: cycjimmy/semantic-release-action@v2
|
||||||
id: semantic # Need an `id` for output variables
|
id: semantic # Need an `id` for output variables
|
||||||
with:
|
with:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
@ -57,3 +57,5 @@ steps:
|
||||||
run: ...
|
run: ...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## [CHANGELOG](./docs/CHANGELOG.md)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue