File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,23 @@ runs:
1717 echo $HOME
1818 echo ${{ runner.os }}
1919
20- - name : Cache apt packages on Linux
20+ - name : Cache APT packages
2121 if : runner.os == 'Linux'
22- uses : actions/cache@v3
22+ uses : actions/cache@v4
2323 with :
24- path : /var/cache/apt
25- key : ${{ runner.os }}-apt-cache-${{ hashFiles('/var/lib/apt/lists/*') }}
24+ path : |
25+ /var/cache/apt/archives
26+ /var/lib/apt/lists
27+ key : ${{ runner.os }}-apt-${{ hashFiles('.github/actions/setup/apt-packages.txt') }}
2628 restore-keys : |
27- ${{ runner.os }}-apt-cache-
29+ ${{ runner.os }}-apt-
2830
29- - name : Install protobuf-compiler on Linux
31+ - name : Update and install APT packages
3032 if : runner.os == 'Linux'
3133 shell : bash
3234 run : |
3335 sudo apt-get update
34- sudo apt-get install -y protobuf-compiler
36+ xargs -a .github/actions/setup/apt-packages.txt sudo apt-get install -y
3537
3638 - uses : dtolnay/rust-toolchain@stable
3739 with :
Original file line number Diff line number Diff line change 1+ protobuf-compiler
You can’t perform that action at this time.
0 commit comments