Update cache/restore/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 13:34:42 +00:00
parent 74fef087fb
commit 2664aefbd3

View File

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