Update cache/restore/action.yaml
This commit is contained in:
parent
6fb22058a4
commit
1f2b460d69
2
cache/restore/action.yaml
vendored
2
cache/restore/action.yaml
vendored
@ -15,6 +15,6 @@ runs:
|
|||||||
- /mnt/swarm/gitea/runner/cache:/cache
|
- /mnt/swarm/gitea/runner/cache:/cache
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" .
|
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . || echo "Cache not found" && exit
|
||||||
tar -xzf "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"
|
||||||
|
Loading…
Reference in New Issue
Block a user