Skip to content

Commit 283f36e

Browse files
authored
fix: simplified adding cli-version argument (#11)
1 parent b349a46 commit 283f36e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Pizza Action
2727
uses: open-sauced/[email protected]
2828
with:
29-
# optional and default is "@latest". Add this parameter if you want to use a specific version, e.g. v2.0.0
30-
cli-version: "@v2.0.0"
29+
# optional and default is "latest". Add this parameter if you want to use a specific version, e.g. v2.0.0
30+
cli-version: "v2.1.0"
3131
# optional and false by default. Set this to true if you want to have a pull request for the changes created automatically.
3232
commit-and-pr: "true"
3333
# optional
@@ -44,7 +44,7 @@ The pizza CLI's "generate codeowners ./ --tty-disable" command requires a full r
4444

4545
### `cli-version`
4646

47-
The version of the pizza CLI to use. Default is `@latest`. If using a numbered version, make sure to include the `@` symbol as well as a `v` before the version number. For example, `@v2.0.0`.
47+
The version of the pizza CLI to use. Default is `latest`. If using a numbered version, make sure to prefix the version number with `v`. For example, `v2.0.0`.
4848

4949
### `pizza-args`
5050

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636

3737
- name: Install pizza CLI
3838
run: |
39-
go install github.com/open-sauced/pizza-cli${{ inputs.cli-version }}
39+
go install github.com/open-sauced/pizza-cli@${{ inputs.cli-version }}
4040
shell: bash
4141

4242
- name: Check pizza CLI version

0 commit comments

Comments
 (0)