Update cache/restore/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 02:34:15 +00:00
parent ac4e59c158
commit 6e547f538d

View File

@ -15,5 +15,6 @@ runs:
- /mnt/swarm/gitea/runner/cache:/cache
steps:
- run: |
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" .
tar -xzf "archive.tar.gz"
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . && \
tar -xzf "archive.tar.gz" || \
echo "Cache not found"