From 8839455ea712d3b47e169c7fafabb8fcbc36cd3c Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Thu, 29 Feb 2024 04:54:21 +0000 Subject: [PATCH] Update cache/restore/action.yaml --- cache/restore/action.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cache/restore/action.yaml b/cache/restore/action.yaml index 4466e42..4f25b59 100644 --- a/cache/restore/action.yaml +++ b/cache/restore/action.yaml @@ -14,6 +14,5 @@ runs: - 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" + 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