Update cache/restore/action.yaml
This commit is contained in:
parent
74fef087fb
commit
2664aefbd3
2
cache/restore/action.yaml
vendored
2
cache/restore/action.yaml
vendored
@ -16,5 +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
|
||||||
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"
|
echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user