Update README.md

This commit is contained in:
Corey Butler 2022-10-12 11:45:15 -05:00 committed by GitHub
parent 78029d31f5
commit 4ed1047ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):