Skip to content

Commit e2542b3

Browse files
update all references of v2 to v3
1 parent 24c5779 commit e2542b3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
This action makes the `protoc` compiler available to Workflows.
1616

17-
## Upgrade to v2
17+
## Upgrade from v1 to v2 or v3
1818

1919
Added support **only** for the new protobuf tag naming convention `MINOR.PATCH`.
2020

@@ -24,14 +24,14 @@ To get the latest stable version of `protoc` just add this step:
2424

2525
```yaml
2626
- name: Install Protoc
27-
uses: arduino/setup-protoc@v2
27+
uses: arduino/setup-protoc@v3
2828
```
2929
3030
If you want to pin a major or minor version you can use the `.x` wildcard:
3131

3232
```yaml
3333
- name: Install Protoc
34-
uses: arduino/setup-protoc@v2
34+
uses: arduino/setup-protoc@v3
3535
with:
3636
version: "23.x"
3737
```
@@ -40,7 +40,7 @@ You can also require to include releases marked as `pre-release` in Github using
4040

4141
```yaml
4242
- name: Install Protoc
43-
uses: arduino/setup-protoc@v2
43+
uses: arduino/setup-protoc@v3
4444
with:
4545
version: "23.x"
4646
include-pre-releases: true
@@ -50,7 +50,7 @@ To pin the exact version:
5050

5151
```yaml
5252
- name: Install Protoc
53-
uses: arduino/setup-protoc@v2
53+
uses: arduino/setup-protoc@v3
5454
with:
5555
version: "23.2"
5656
```
@@ -60,7 +60,7 @@ pass the default token with the `repo-token` variable:
6060

6161
```yaml
6262
- name: Install Protoc
63-
uses: arduino/setup-protoc@v2
63+
uses: arduino/setup-protoc@v3
6464
with:
6565
repo-token: ${{ secrets.GITHUB_TOKEN }}
6666
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-protoc-action",
3-
"version": "2.0.0",
3+
"version": "3.0.0",
44
"private": true,
55
"description": "Setup protoc action",
66
"main": "lib/main.js",

0 commit comments

Comments
 (0)