CI: Cache archives downloaded by apt (#8159)

Belt-and-braces in case GitHub apt mirrors start acting up again: On any
successful apt install, cache the deb files downloaded/needed for the
step, so on next run the mirrors need not be consulted. (That is: trade
apt mirror access with GitHub cache access, which is more reliable)
This commit is contained in:
Geza Lore
2026-08-20 11:16:17 +02:00
committed by GitHub
parent e717c513e9
commit 38ae4e617d
7 changed files with 130 additions and 10 deletions
+6 -3
View File
@@ -66,11 +66,14 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
path: repo
sparse-checkout: ci
sparse-checkout: |
.github/actions
ci
- name: Install dependencies
working-directory: repo
run: ./ci/ci-install.bash rtlmeter-run
uses: ./repo/.github/actions/install-deps
with:
stage: rtlmeter-run
- name: Checkout RTLMeter
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7