-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: reduce the amount of API calls made by
arduino/setup-protoc@v1
(#…
…5930) * ci: reduce the amount of API calls made by `arduino/setup-protoc@v1` If the `protoc` compiler version is not available locally, the action will look for the most recent version. We use a fixed version to reduce the amount of API calls being done in all workflows, but mainly on `build-crates-individually.yml` * fix: decrease `protoc` version until the action is fixed
- Loading branch information
1 parent
943a72a
commit b060408
Showing
4 changed files
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,9 +67,10 @@ jobs: | |
persist-credentials: false | ||
|
||
- name: Install last version of Protoc | ||
uses: arduino/setup-protoc@v1 | ||
uses: arduino/setup-protoc@v1.1.2 | ||
with: | ||
version: '3.x' | ||
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed | ||
version: '3.20.1' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Check workflow permissions | ||
|
@@ -117,9 +118,10 @@ jobs: | |
persist-credentials: false | ||
|
||
- name: Install last version of Protoc | ||
uses: arduino/setup-protoc@v1 | ||
uses: arduino/setup-protoc@v1.1.2 | ||
with: | ||
version: '3.x' | ||
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed | ||
version: '3.20.1' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: actions-rs/[email protected] | ||
|
@@ -157,9 +159,10 @@ jobs: | |
persist-credentials: false | ||
|
||
- name: Install last version of Protoc | ||
uses: arduino/setup-protoc@v1 | ||
uses: arduino/setup-protoc@v1.1.2 | ||
with: | ||
version: '3.x' | ||
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed | ||
version: '3.20.1' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: actions-rs/[email protected] | ||
|