add cache to ci

This commit is contained in:
2026-04-26 09:28:14 +01:00
parent 6f255daaed
commit 12b6725ccb
+10 -1
View File
@@ -45,7 +45,16 @@ jobs:
else else
echo "build=false" >> $GITHUB_OUTPUT echo "build=false" >> $GITHUB_OUTPUT
fi fi
- 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: Build Package - name: Build Package
if: steps.compare.outputs.build == 'true' if: steps.compare.outputs.build == 'true'
run: | run: |