Update cache/restore/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 13:32:06 +00:00
parent 2e899e6d4a
commit 8f18d935a6

View File

@ -16,6 +16,5 @@ runs:
steps: steps:
- run: | - run: |
[ ! -f "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" ] && echo "Cache not found" && exit [ ! -f "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" ] && echo "Cache not found" && exit
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . tar -xzf "/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 restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"