Skip to content

Commit

Permalink
FIXUP: Restore cache appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Oct 2, 2024
1 parent 6ac7892 commit 73d980f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,14 @@ jobs:
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"

- name: Restore container cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
key: v2-${{ steps.date.outputs.date }}-${{ hashFiles('Dockerfile', 'dangerzone/conversion/common.py', 'dangerzone/conversion/doc_to_pixels.py', 'dangerzone/conversion/pixels_to_pdf.py', 'poetry.lock', 'gvisor_wrapper/entrypoint.py') }}
key: v2-${{ steps.date.outputs.date }}-${{ hashFiles('dangerzone/conversion/common.py', 'dangerzone/conversion/doc_to_pixels.py', 'dangerzone/conversion/pixels_to_pdf.py', 'poetry.lock', 'gvisor_wrapper/entrypoint.py') }}
path: |-
share/container.tar.gz
share/image-id.txt
fail-on-cache-miss: true


- name: Build Dangerzone .deb
run: |
Expand Down

0 comments on commit 73d980f

Please sign in to comment.