Skip to content

Commit

Permalink
Correct buf CLI version (#189)
Browse files Browse the repository at this point in the history
Release 1.29.0-1 used the wrong version for the CLI. Fixes the action.

Fixes #188
  • Loading branch information
emcfarlane committed Feb 21, 2024
1 parent ba063e7 commit 46a2967
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You can configure `buf-setup-action` with these parameters:

| Parameter | Description | Default |
|:---------------|:---------------------------------------------------|:-------------------|
| `version` | The version of the [`buf` CLI][buf-cli] to install | [`v1.29.0-1`][version] |
| `version` | The version of the [`buf` CLI][buf-cli] to install | [`v1.29.0`][version] |
| `github_token` | The GitHub token to use when making API requests | |
| `buf_user` | The username to use for logging into Buf Schema registry. | |
| `buf_api_token` | The API token to use for logging into Buf Schema registry. | |
Expand All @@ -59,8 +59,8 @@ steps:
# Installs version 1.29.0-1
- uses: bufbuild/buf-setup-action@v1.29.0-1
with:
version: 1.29.0-1
# Should output 1.29.0-1
version: 1.29.0
# Should output 1.29.0
- run: buf --version
```

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
version:
description: The version of buf to set up.
required: false
default: '1.29.0-1'
default: '1.29.0'
github_token:
description: The GitHub token to use when making API requests.
required: false
Expand Down

0 comments on commit 46a2967

Please sign in to comment.