From 3af9c9e49c968c17db46e3db6a303024ab42c546 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Thu, 23 Nov 2023 21:44:05 +0000 Subject: [PATCH] Update workspace/action.yaml --- workspace/action.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/workspace/action.yaml b/workspace/action.yaml index 8ac8129..5fad02f 100644 --- a/workspace/action.yaml +++ b/workspace/action.yaml @@ -12,7 +12,9 @@ runs: steps: - run: | WORKSPACE=$(pwd) - cd .. - rm -rf "$WORKSPACE" - ln -fs "/workspace/${{ inputs.key }}" "$WORKSPACE" - echo "Linked: /workspace/${{ inputs.key }} -> $WORKSPACE" + mkdir -p "/cache/workspace/${{ inputs.key }}" + cd "/cache/workspace/${{ inputs.key }}" + # cd .. + # rm -rf "$WORKSPACE" + # ln -fs "/cache/workspace/${{ inputs.key }}" "$WORKSPACE" + # echo "Linked: /cache/workspace/${{ inputs.key }} -> $WORKSPACE"