Update cache/restore/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 03:00:51 +00:00
parent 9015965d07
commit a5444b7450

View File

@ -12,9 +12,9 @@ runs:
container: container:
image: alpine image: alpine
volumes: volumes:
- /mnt/cache:/mnt/cache - /mnt/swarm/gitea/runner/cache:/cache
steps: steps:
- run: | - run: |
mv "/mnt/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . && \ mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . && \
tar -xzf "archive.tar.gz" || \ tar -xzf "archive.tar.gz" || \
echo "Cache not found" echo "Cache not found"