From d88a1720c38119778292ff3cfa1d147d41a1bf5f Mon Sep 17 00:00:00 2001 From: TheElixZammuto Date: Fri, 16 Aug 2024 16:06:15 +0200 Subject: [PATCH] Update msbuild.yml --- .github/workflows/msbuild.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index ec266b6..90722a0 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -133,8 +133,11 @@ jobs: - name: Clean Certificate if: always() # clean up, even if build fails - run: Remove-Item -path cert.pfx - + run: | + if(test-path cert.pfx){ + Remove-Item -path cert.pfx + } + - name: Upload artifacts uses: actions/upload-artifact@v4 with: