Skip to content

Commit cd955c7

Browse files
committed
cache apt
1 parent 93aae3d commit cd955c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/conda-python-build.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@ jobs:
105105
repository: ${{ inputs.repo }}
106106
ref: ${{ inputs.sha }}
107107
fetch-depth: 0
108+
- name: Cache apt archives
109+
uses: actions/cache@v5
110+
with:
111+
path: /var/cache/apt/archives
112+
key: apt-archives-${{ matrix.ARCH }}-${{ hashFiles('.github/workflows/conda-python-build.yaml') }}
113+
restore-keys: |
114+
apt-archives-${{ matrix.ARCH }}-
108115
- name: Install required packages
109116
run: |
110117
apt update

0 commit comments

Comments
 (0)