add cache to ci
This commit is contained in:
@@ -45,6 +45,15 @@ 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'
|
||||||
|
|||||||
Reference in New Issue
Block a user