@@ -10,14 +10,14 @@ To get the latest stable version of `protoc` just add this step:
10
10
11
11
``` yaml
12
12
- name : Install Protoc
13
- uses : arduino/setup-protoc@master
13
+ uses : arduino/setup-protoc@v1
14
14
` ` `
15
15
16
16
If you want to pin a major or minor version you can use the ` .x` wildcard:
17
17
18
18
` ` ` yaml
19
19
- name: Install Protoc
20
- uses: arduino/setup-protoc@master
20
+ uses: arduino/setup-protoc@v1
21
21
with:
22
22
version: '3.x'
23
23
` ` `
@@ -26,7 +26,7 @@ You can also require to include releases marked as `pre-release` in Github using
26
26
27
27
` ` ` yaml
28
28
- name: Install Protoc
29
- uses: arduino/setup-protoc@master
29
+ uses: arduino/setup-protoc@v1
30
30
with:
31
31
version: '3.x'
32
32
include-pre-releases: true
@@ -36,7 +36,7 @@ To pin the exact version:
36
36
37
37
` ` ` yaml
38
38
- name: Install Protoc
39
- uses: arduino/setup-protoc@master
39
+ uses: arduino/setup-protoc@v1
40
40
with:
41
41
version: '3.9.1'
42
42
` ` `
@@ -46,7 +46,7 @@ pass the default token with the `repo-token` variable:
46
46
47
47
` ` ` yaml
48
48
- name: Install Protoc
49
- uses: arduino/setup-protoc@master
49
+ uses: arduino/setup-protoc@v1
50
50
with:
51
51
repo-token: ${{ secrets.GITHUB_TOKEN }}
52
52
` ` `
@@ -86,4 +86,9 @@ Action the workflow should be the following:
86
86
1. `rm -rf node_modules` to remove all the dependencies.
87
87
1. `npm install --production` to add back **only** the runtime dependencies.
88
88
1. `git add lib node_modules` to check in the code that matters.
89
+ 1. If the release will increment the major version, update the action refs in the examples in README.md
90
+ (e.g., `uses : arduino/setup-protoc@v1` -> `uses: arduino/setup-protoc@v2`).
89
91
1. open a PR and request a review.
92
+ 1. After PR is merged, create a release, following the `vX.X.X` tag name convention.
93
+ 1. After the release, rebase the release branch for that major version (e.g., `v1` branch for the v1.x.x tags) on the tag.
94
+ If no branch exists for the release's major version, create one.
0 commit comments