Skip to content

Commit f686f85

Browse files
committed
fix: reset install dir before installation
1 parent 5159d58 commit f686f85

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ runs:
1010
set -o pipefail
1111
set -o nounset
1212
13-
mkdir -p "$RUNNER_TEMP/wush"
14-
cd "$RUNNER_TEMP/wush"
13+
INSTALL_DIR="$RUNNER_TEMP/wush"
14+
rm -rf "$INSTALL_DIR"
15+
mkdir -p "$INSTALL_DIR"
16+
cd "$INSTALL_DIR"
1517
1618
SCRIPT_PATH="${{ github.action_path }}/download-wush.sh"
1719
chmod +x "$SCRIPT_PATH"

0 commit comments

Comments
 (0)