diff --git a/cache/restore/action.yaml b/cache/restore/action.yaml index 4f25b59..d10acc0 100644 --- a/cache/restore/action.yaml +++ b/cache/restore/action.yaml @@ -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 \ No newline at end of file + [ ! -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