Skip to content

Commit 6cb3287

Browse files
committed
[ci] Cache apt packages
1 parent 355558f commit 6cb3287

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ jobs:
3939
cache-dependency-path: |
4040
**/requirements*.txt
4141
42+
- name: Cache APT packages
43+
uses: actions/cache@v4
44+
with:
45+
path: /var/cache/apt/archives
46+
key: apt-${{ runner.os }}-${{ hashFiles('.github/workflows/ci.yml') }}
47+
restore-keys: |
48+
apt-${{ runner.os }}-
49+
4250
- name: Disable man page auto-update
4351
run: |
4452
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null

0 commit comments

Comments
 (0)