From 4ed1047ea69986541164372b3059464c88ceee1d Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Wed, 12 Oct 2022 11:45:15 -0500 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5214cae..3918399 100644 --- a/README.md +++ b/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):