Update cache/restore/action.yaml
This commit is contained in:
parent
7008f71b18
commit
8839455ea7
3
cache/restore/action.yaml
vendored
3
cache/restore/action.yaml
vendored
@ -14,6 +14,5 @@ runs:
|
|||||||
- name: Create cache
|
- name: Create cache
|
||||||
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 --overwrite -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 "Failed..."
|
||||||
echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
|
|
||||||
shell: sh
|
shell: sh
|
Loading…
Reference in New Issue
Block a user