add cache to ci
This commit is contained in:
@@ -45,6 +45,15 @@ jobs:
|
||||
else
|
||||
echo "build=false" >> $GITHUB_OUTPUT
|
||||
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
|
||||
if: steps.compare.outputs.build == 'true'
|
||||
|
||||
Reference in New Issue
Block a user