Skip to content

Commit 2fb744a

Browse files
committed
Explore the cache action
I suspect we'll want to use save/restore sub-actions, but let's see how it works.
1 parent 835881a commit 2fb744a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ jobs:
5959
- { qt: 6.6.3, arch: arm64 }
6060
steps:
6161
- run: ls /var/cache/apt/archives/
62+
- name: Cache APT archives
63+
uses: actions/cache@v4
64+
with:
65+
path: /var/cache/apt/archives
66+
key: ${{ runner.os }}-${{ runner.arch }}-apt-archives
67+
- run: ls /var/cache/apt/archives/
6268
- name: Upgrade OS
6369
run: |
6470
sudo apt-mark hold firefox grub-efi-${{ matrix.arch == 'arm64' && 'arm64' || 'amd64' }}-signed

0 commit comments

Comments
 (0)