Update cache/restore/action.yaml
This commit is contained in:
parent
24f02807f0
commit
79d7b9986b
6
cache/restore/action.yaml
vendored
6
cache/restore/action.yaml
vendored
@ -13,6 +13,6 @@ runs:
|
||||
steps:
|
||||
- name: Create cache
|
||||
run: |
|
||||
[ ! -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" && echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" || echo "Failed..."
|
||||
shell: sh
|
||||
[ ! -f "/tmp/gitea/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" ] && echo "Cache not found" && exit
|
||||
tar --overwrite -xzf "/tmp/gitea/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" && echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" || echo "Failed..."
|
||||
shell: sh
|
||||
|
Loading…
Reference in New Issue
Block a user