Skip to content

Commit

Permalink
Release v1.42.0 (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-buf-setup-action[bot] authored Sep 18, 2024
1 parent 2881ede commit a8b4a18
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ steps:
# Run `git checkout`
- uses: actions/checkout@v2
# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1.41.0
- uses: bufbuild/buf-setup-action@v1.42.0
# Ensure that `buf` is installed
- run: buf --version
```
Expand All @@ -37,7 +37,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.41.0`][version] |
| `version` | The version of the [`buf` CLI][buf-cli] to install | [`v1.42.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 @@ -52,7 +52,7 @@ If `version` is unspecified, the latest version of `buf` is installed:
steps:
- uses: actions/checkout@v2
# Installs latest
- uses: bufbuild/buf-setup-action@v1.41.0
- uses: bufbuild/buf-setup-action@v1.42.0
- run: buf --version
```

Expand All @@ -61,11 +61,11 @@ Use the `version` parameter to pin to a specific version:
```yaml
steps:
- uses: actions/checkout@v2
# Installs version 1.41.0
- uses: bufbuild/buf-setup-action@v1.41.0
# Installs version 1.42.0
- uses: bufbuild/buf-setup-action@v1.42.0
with:
version: 1.41.0
# Should output 1.41.0
version: 1.42.0
# Should output 1.42.0
- run: buf --version
```

Expand All @@ -75,7 +75,7 @@ recommended:
```yaml
steps:
- uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1.41.0
- uses: bufbuild/buf-setup-action@v1.42.0
with:
version: latest
- run: buf --version
Expand All @@ -88,7 +88,7 @@ This may prevent rate limit issues when running on GitHub hosted runners:

```yaml
steps:
- uses: bufbuild/buf-setup-action@v1.41.0
- uses: bufbuild/buf-setup-action@v1.42.0
with:
github_token: ${{ github.token }}
```
Expand All @@ -100,7 +100,7 @@ you must still pass the token to the action:

```yaml
steps:
- uses: bufbuild/buf-setup-action@v1.41.0
- uses: bufbuild/buf-setup-action@v1.42.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -111,7 +111,7 @@ If you are using Private [Remote Packages](https://docs.buf.build/bsr/remote-pac

```yaml
steps:
- uses: bufbuild/buf-setup-action@v1.41.0
- uses: bufbuild/buf-setup-action@v1.42.0
with:
buf_user: ${{ secrets.buf_user }}
buf_api_token: ${{ secrets.buf_api_token }}
Expand Down Expand Up @@ -168,7 +168,7 @@ steps:
# Run `git checkout`
- uses: actions/checkout@v2
# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1.41.0
- uses: bufbuild/buf-setup-action@v1.42.0
# Install `protoc`
- uses: arduino/setup-protoc@v1
```
Expand All @@ -185,4 +185,4 @@ steps:
[compiler]: https://docs.buf.build/build/internal-compiler
[protoc]: https://github.com/protocolbuffers/protobuf#protocol-compiler-installation
[setup-protoc]: https://github.com/marketplace/actions/setup-protoc
[version]: https://github.com/bufbuild/buf/releases/tag/v1.41.0
[version]: https://github.com/bufbuild/buf/releases/tag/v1.42.0
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.41.0'
default: '1.42.0'
github_token:
description: The GitHub token to use when making API requests.
required: false
Expand Down

0 comments on commit a8b4a18

Please sign in to comment.