ci: use GitHub token to install protoc (#1996)
* ci: use GitHub token to install protoc * fix: use github.token instead of secrets.GITHUB_TOKEN Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
This commit is contained in:
parent
bdbef49cdb
commit
b3ab45431d
|
@ -5,6 +5,7 @@ runs:
|
||||||
uses: trail-of-forks/setup-protoc@a97892a429d98fae78d26f40334ab7eb616d08b9 # include https://github.com/arduino/setup-protoc/pull/58
|
uses: trail-of-forks/setup-protoc@a97892a429d98fae78d26f40334ab7eb616d08b9 # include https://github.com/arduino/setup-protoc/pull/58
|
||||||
with:
|
with:
|
||||||
version: '21.12'
|
version: '21.12'
|
||||||
|
repo-token: ${{ github.token }}
|
||||||
- name: Install Protobuf compiler
|
- name: Install Protobuf compiler
|
||||||
shell: bash
|
shell: bash
|
||||||
run: go install google.golang.org/protobuf/cmd/protoc-gen-go
|
run: go install google.golang.org/protobuf/cmd/protoc-gen-go
|
||||||
|
|
Loading…
Reference in New Issue