Update workspace/action.yaml

This commit is contained in:
Zakary Timson 2023-11-23 22:21:17 +00:00
parent a1035c32d3
commit 435a522f61

View File

@ -15,7 +15,7 @@ runs:
mkdir -p "$PERSISTANT" mkdir -p "$PERSISTANT"
WORKSPACE=$(pwd) WORKSPACE=$(pwd)
cd .. cd ..
rm -rf "$WORKSPACE" rm -rf "$WORKSPACE" || sleep 5 && rm -rf "$WORKSPACE" || sleep 5 && rm -rf "$WORKSPACE"
ln -fs "$PERSISTANT" "$WORKSPACE" ln -fs "$PERSISTANT" "$WORKSPACE"
echo "Linked: $PERSISTANT -> $WORKSPACE" echo "Linked: $PERSISTANT -> $WORKSPACE"
echo "Workspace will be automatically deleted in 1 hour" echo "Workspace will be automatically deleted in 1 hour"