From 79d7b9986b40e3888e5a4d18586f9c647a0d8d59 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Mon, 13 May 2024 10:55:55 -0400 Subject: [PATCH] Update cache/restore/action.yaml --- cache/restore/action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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