mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-22 08:11:07 +07:00
Update README.md
This commit is contained in:
parent
78029d31f5
commit
4ed1047ea6
10
README.md
10
README.md
@ -233,7 +233,14 @@ The default value (`0.0.1`) prevents a `0.0.0` from being created. This can also
|
||||
|
||||
For example, if the version `0.1.0` would already have been published, set the `minVersion` to the next patch to prevent a duplicate tag for that version.
|
||||
|
||||
```yaml
|
||||
- uses: butlerlogic/action-autotag@1.0.0
|
||||
with:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
minVersion: "0.1.1"
|
||||
```
|
||||
|
||||
### Dry Run
|
||||
If this value is true, the tag will not be pushed.
|
||||
You can check for duplicate versions when creating a pull request.
|
||||
|
||||
@ -241,9 +248,10 @@ You can check for duplicate versions when creating a pull request.
|
||||
- uses: butlerlogic/action-autotag@1.0.0
|
||||
with:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
minVersion: "0.1.1"
|
||||
dryRun: true
|
||||
```
|
||||
|
||||
|
||||
## Developer Notes
|
||||
|
||||
If you are building an action that runs after this one, be aware this action produces several [outputs](https://help.github.com/en/articles/metadata-syntax-for-github-actions#outputs):
|
||||
|
Loading…
Reference in New Issue
Block a user