Skip to content

Commit 2048abb

Browse files
committed
Install protobuf compiler in pipelines
1 parent a7c605d commit 2048abb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/actions/setup/action.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@ runs:
1717
echo $HOME
1818
echo ${{ runner.os }}
1919
20+
- name: Cache apt packages on Linux
21+
if: runner.os == 'Linux'
22+
uses: actions/cache@v3
23+
with:
24+
path: /var/cache/apt
25+
key: ${{ runner.os }}-apt-cache-${{ hashFiles('/var/lib/apt/lists/*') }}
26+
restore-keys: |
27+
${{ runner.os }}-apt-cache-
28+
29+
- name: Install protobuf-compiler on Linux
30+
if: runner.os == 'Linux'
31+
shell: bash
32+
run: |
33+
sudo apt-get update
34+
sudo apt-get install -y protobuf-compiler
35+
2036
- uses: dtolnay/rust-toolchain@stable
2137
with:
2238
toolchain: stable

0 commit comments

Comments
 (0)