Update cache/restore/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 03:00:51 +00:00
parent 9015965d07
commit a5444b7450

View File

@ -12,9 +12,9 @@ runs:
container:
image: alpine
volumes:
- /mnt/cache:/mnt/cache
- /mnt/swarm/gitea/runner/cache:/cache
steps:
- run: |
mv "/mnt/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . && \
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . && \
tar -xzf "archive.tar.gz" || \
echo "Cache not found"