Update workspace/action.yaml

This commit is contained in:
Zakary Timson 2023-11-23 21:44:05 +00:00
parent 067e35c532
commit 3af9c9e49c

View File

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