From 3947be62f4495d043b1c2c6ebea292e31e72b470 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Thu, 7 Sep 2023 12:43:37 +0300 Subject: [PATCH] fix: don't fail is bin directory exists on Windows runner --- 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"