Skip to content

Commit 43912a6

Browse files
committed
fix build?
1 parent fcf1918 commit 43912a6

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ jobs:
3131

3232
- uses: Swatinem/rust-cache@v2
3333

34+
- name: Install Protoc
35+
uses: taiki-e/install-action@v2
36+
with:
37+
tool: protoc
38+
3439
- name: Run cargo test
3540
uses: actions-rs/cargo@v1
3641
with:
@@ -57,6 +62,11 @@ jobs:
5762

5863
- uses: Swatinem/rust-cache@v2
5964

65+
- name: Install Protoc
66+
uses: taiki-e/install-action@v2
67+
with:
68+
tool: protoc
69+
6070
- name: Download grcov
6171
run: |
6272
mkdir -p "${HOME}/.local/bin"
@@ -93,6 +103,11 @@ jobs:
93103

94104
- uses: Swatinem/rust-cache@v2
95105

106+
- name: Install Protoc
107+
uses: taiki-e/install-action@v2
108+
with:
109+
tool: protoc
110+
96111
- name: Run cargo fmt
97112
uses: actions-rs/cargo@v1
98113
with:

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
override: true
4040

4141
- name: Install Protoc
42-
uses: arduino/setup-protoc@v3
42+
uses: taiki-e/install-action@v2
43+
with:
44+
tool: protoc
4345

4446
- uses: Swatinem/rust-cache@v2
4547

@@ -102,7 +104,9 @@ jobs:
102104
node-version: 18
103105

104106
- name: Install Protoc
105-
uses: arduino/setup-protoc@v3
107+
uses: taiki-e/install-action@v2
108+
with:
109+
tool: protoc
106110

107111
- name: Install ${{ matrix.rust }} toolchain
108112
uses: actions-rs/toolchain@v1

0 commit comments

Comments
 (0)