Update cache/restore/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 13:15:21 +00:00
parent 6785ca8c4c
commit 6fb22058a4

View File

@ -15,8 +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" && \
echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" || \
echo "Cache not found"
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" .
tar -xzf "archive.tar.gz"
echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"