Skip to content

Commit dc7ce51

Browse files
committed
ci: cache apt packages in release workflow
1 parent 4ed27d2 commit dc7ce51

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ jobs:
2727
submodules: recursive
2828
lfs: true
2929

30+
- name: Cache apt packages
31+
uses: actions/cache@v4
32+
with:
33+
path: |
34+
/var/cache/apt/archives
35+
/var/lib/apt/lists
36+
key: ${{ runner.os }}-apt-${{ hashFiles('.github/workflows/release.yml') }}
37+
restore-keys: |
38+
${{ runner.os }}-apt-
39+
3040
- name: Install system dependencies
3141
run: |
3242
sudo apt-get update

0 commit comments

Comments
 (0)