add caching pacman caching to the workflow

This commit is contained in:
2026-04-26 08:57:27 +01:00
parent e43b184a64
commit 46130d7769
+9
View File
@@ -15,6 +15,15 @@ jobs:
packages: write
contents: write
steps:
- name: Cache Pacman Data
uses: actions/cache@v4
with:
path: |
/var/cache/pacman/pkg
/var/lib/pacman/sync
key: pacman-cache-${{ github.run_id }}
restore-keys: |
pacman-cache-
- name: Update packages
run: |
pacman -Syu --noconfirm --noprogressbar --needed base-devel devtools btrfs-progs dbus sudo nodejs pacman-contrib