File tree 2 files changed +7
-7
lines changed 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 14
14
15
15
This action makes the ` protoc ` compiler available to Workflows.
16
16
17
- ## Upgrade to v2
17
+ ## Upgrade from v1 to v2 or v3
18
18
19
19
Added support ** only** for the new protobuf tag naming convention ` MINOR.PATCH ` .
20
20
@@ -24,14 +24,14 @@ To get the latest stable version of `protoc` just add this step:
24
24
25
25
``` yaml
26
26
- name : Install Protoc
27
- uses : arduino/setup-protoc@v2
27
+ uses : arduino/setup-protoc@v3
28
28
` ` `
29
29
30
30
If you want to pin a major or minor version you can use the ` .x` wildcard:
31
31
32
32
` ` ` yaml
33
33
- name: Install Protoc
34
- uses: arduino/setup-protoc@v2
34
+ uses: arduino/setup-protoc@v3
35
35
with:
36
36
version: "23.x"
37
37
` ` `
@@ -40,7 +40,7 @@ You can also require to include releases marked as `pre-release` in Github using
40
40
41
41
` ` ` yaml
42
42
- name: Install Protoc
43
- uses: arduino/setup-protoc@v2
43
+ uses: arduino/setup-protoc@v3
44
44
with:
45
45
version: "23.x"
46
46
include-pre-releases: true
@@ -50,7 +50,7 @@ To pin the exact version:
50
50
51
51
` ` ` yaml
52
52
- name: Install Protoc
53
- uses: arduino/setup-protoc@v2
53
+ uses: arduino/setup-protoc@v3
54
54
with:
55
55
version: "23.2"
56
56
` ` `
@@ -60,7 +60,7 @@ pass the default token with the `repo-token` variable:
60
60
61
61
` ` ` yaml
62
62
- name: Install Protoc
63
- uses: arduino/setup-protoc@v2
63
+ uses: arduino/setup-protoc@v3
64
64
with:
65
65
repo-token: ${{ secrets.GITHUB_TOKEN }}
66
66
` ` `
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " setup-protoc-action" ,
3
- "version" : " 2 .0.0" ,
3
+ "version" : " 3 .0.0" ,
4
4
"private" : true ,
5
5
"description" : " Setup protoc action" ,
6
6
"main" : " lib/main.js" ,
You can’t perform that action at this time.
0 commit comments