From 3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Thu, 7 Sep 2023 14:48:58 +0300 Subject: [PATCH] fix: don't fail if bin directory exists on windows (#189) --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index d307eaeb..f7f1b4aa 100644 --- a/action.yml +++ b/action.yml @@ -99,7 +99,7 @@ runs: if: startsWith(runner.os, 'Windows') shell: pwsh run: | - New-Item -Path $env:HOME\bin -ItemType directory + New-Item -Path $env:HOME\bin -ItemType directory -Force Push-Location $env:HOME\bin Invoke-WebRequest -Uri "https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-windows.exe" -OutFile "coveralls.exe" Invoke-WebRequest -Uri "https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-checksums.txt" -OutFile "sha256sums.txt"