Skip to content

Commit

Permalink
Override existing files while unzipping
Browse files Browse the repository at this point in the history
  • Loading branch information
hauketoenjes committed Aug 12, 2021
1 parent ade92c2 commit 595006e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Expand Up @@ -77,7 +77,7 @@ echo "Downloading ${URL}..."

# Download installation zip.
curl --connect-timeout 15 --retry 5 "$URL" > "${HOME}/dartsdk.zip"
unzip "${HOME}/dartsdk.zip" -d "${RUNNER_TOOL_CACHE}" > /dev/null
unzip -o "${HOME}/dartsdk.zip" -d "${RUNNER_TOOL_CACHE}" > /dev/null
if [ $? -ne 0 ]; then
echo -e "::error::Download failed! Please check passed arguments."
exit 1
Expand Down

0 comments on commit 595006e

Please sign in to comment.