Update cache/restore/action.yaml
This commit is contained in:
parent
16bb932ae2
commit
6785ca8c4c
7
cache/restore/action.yaml
vendored
7
cache/restore/action.yaml
vendored
@ -15,7 +15,8 @@ runs:
|
||||
- /mnt/swarm/gitea/runner/cache:/cache
|
||||
steps:
|
||||
- run: |
|
||||
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . || echo "Cache not found" && exit
|
||||
tar -xzf "archive.tar.gz"
|
||||
echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
|
||||
mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . && \
|
||||
tar -xzf "archive.tar.gz" && \
|
||||
echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" || \
|
||||
echo "Cache not found"
|
||||
|
Loading…
Reference in New Issue
Block a user