Skip to content

Commit e21d155

Browse files
committed
Authenticate when installing protoc on CI
This should reduce the number of failures caused by rate limiting.
1 parent 5daff3b commit e21d155

7 files changed

+11
-0
lines changed

.github/workflows/build-and-push-cliain.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: arduino/setup-protoc@v1
2222
with:
2323
version: '3.6.1'
24+
repo-token: ${{ secrets.CI_GH_TOKEN }}
2425

2526
- name: Cargo | Build release binary
2627
run: |

.github/workflows/build-node-and-runtime.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
uses: arduino/setup-protoc@v1
3838
with:
3939
version: '3.6.1'
40+
repo-token: ${{ secrets.CI_GH_TOKEN }}
4041

4142
- name: Install WASM target
4243
run: rustup target add wasm32-unknown-unknown

.github/workflows/build-send-postsync-hook-runtime-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
uses: arduino/setup-protoc@v1
3838
with:
3939
version: '3.6.1'
40+
repo-token: ${{ secrets.CI_GH_TOKEN }}
4041

4142
- name: Build binary
4243
run: |

.github/workflows/check-excluded-packages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
uses: arduino/setup-protoc@v1
3232
with:
3333
version: '3.6.1'
34+
repo-token: ${{ secrets.CI_GH_TOKEN }}
3435

3536
- name: Read excluded packages from Cargo.toml
3637
id: read_excluded

.github/workflows/e2e-tests-main-devnet.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
uses: arduino/setup-protoc@v1
7070
with:
7171
version: '3.6.1'
72+
repo-token: ${{ secrets.CI_GH_TOKEN }}
7273

7374
- name: Restore cache
7475
uses: ./.github/actions/restore-cache
@@ -116,6 +117,7 @@ jobs:
116117
uses: arduino/setup-protoc@v1
117118
with:
118119
version: '3.6.1'
120+
repo-token: ${{ secrets.CI_GH_TOKEN }}
119121

120122
- name: Install WASM target
121123
run: rustup target add wasm32-unknown-unknown
@@ -154,6 +156,7 @@ jobs:
154156
uses: arduino/setup-protoc@v1
155157
with:
156158
version: '3.6.1'
159+
repo-token: ${{ secrets.CI_GH_TOKEN }}
157160

158161
- name: Restore cache
159162
uses: ./.github/actions/restore-cache
@@ -840,6 +843,7 @@ jobs:
840843
uses: arduino/setup-protoc@v1
841844
with:
842845
version: '3.6.1'
846+
repo-token: ${{ secrets.CI_GH_TOKEN }}
843847

844848
- name: Install WASM target
845849
run: rustup target add wasm32-unknown-unknown

.github/workflows/nightly-pipeline.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
uses: arduino/setup-protoc@v1
6161
with:
6262
version: '3.6.1'
63+
repo-token: ${{ secrets.CI_GH_TOKEN }}
6364

6465
- name: Install WASM target
6566
run: rustup target add wasm32-unknown-unknown
@@ -97,6 +98,7 @@ jobs:
9798
uses: arduino/setup-protoc@v1
9899
with:
99100
version: '3.6.1'
101+
repo-token: ${{ secrets.CI_GH_TOKEN }}
100102

101103
- name: Restore cache
102104
uses: ./.github/actions/restore-cache

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
uses: arduino/setup-protoc@v1
3232
with:
3333
version: '3.6.1'
34+
repo-token: ${{ secrets.CI_GH_TOKEN }}
3435

3536
- name: Install clippy and fmt
3637
run: rustup component add clippy rustfmt

0 commit comments

Comments
 (0)