Update workspace/action.yaml

This commit is contained in:
Zakary Timson 2023-11-23 21:46:10 +00:00
parent 3af9c9e49c
commit 0279d8ac59

View File

@ -12,9 +12,7 @@ runs:
steps:
- run: |
WORKSPACE=$(pwd)
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"
cd ..
rm -rf "$WORKSPACE"
ln -fs "/cache/workspace/${{ inputs.key }}" "$WORKSPACE"
echo "Linked: /cache/workspace/${{ inputs.key }} -> $WORKSPACE"