From 6fb22058a4dbb5c99c7b792e338bd227798e65d9 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Mon, 7 Aug 2023 13:15:21 +0000 Subject: [PATCH] Update cache/restore/action.yaml --- cache/restore/action.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cache/restore/action.yaml b/cache/restore/action.yaml index 5543675..4b40063 100644 --- a/cache/restore/action.yaml +++ b/cache/restore/action.yaml @@ -15,8 +15,6 @@ runs: - /mnt/swarm/gitea/runner/cache:/cache steps: - run: | - 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" - \ No newline at end of file + 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"