Update workspace/action.yaml
This commit is contained in:
parent
a1035c32d3
commit
435a522f61
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user