Add caching to checksum workflow

This commit is contained in:
Marty Oehme 2025-06-24 13:10:08 +02:00
parent 91dd25b85b
commit f156428706
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -46,6 +46,13 @@ jobs:
echo "CHANGED_PKG=$(git diff --name-only origin/main origin/${GITHUB_HEAD_REF} "srcpkgs/*/template" | head -1 | cut -d/ -f2)" >> $GITHUB_ENV
echo "CHANGED: ${{ env.CHANGED_PKG }}"
- name: cache upstream
uses: actions/cache@v4
id: cache-upstream
with:
path: upstream
key: void-templates-upstream-packages
- name: checkout upstream templates
uses: actions/checkout@v4
with:
@ -55,6 +62,7 @@ jobs:
path: upstream
- name: prep masterdir
if: steps.cache-upstream.outputs.cache-hit != 'true'
working-directory: upstream
run: |
chown -R builder:builder . &&