From 3ad0d340aa91ac8f65ce653258f8c3832c5ab137 Mon Sep 17 00:00:00 2001 From: Mateusz Skoczek Date: Mon, 11 Mar 2024 19:40:04 +0100 Subject: [PATCH] Update push_master.yml --- .github/workflows/push_master.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push_master.yml b/.github/workflows/push_master.yml index df619a3..75cf719 100644 --- a/.github/workflows/push_master.yml +++ b/.github/workflows/push_master.yml @@ -58,9 +58,10 @@ jobs: - name: Setup msbuild uses: microsoft/setup-msbuild@v2 - name: Deploy application - run: | - $devenv = & vswhere.exe '-property' productPath - Start-Process -FilePath $devenv -ArgumentList 'VDownload.sln /Deploy Release' -Wait + shell: cmd + run: $MSBUILD_PATH VDownload.sln /Deploy Release + env: + MSBUILD_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.com - name: Upload artifact uses: actions/upload-artifact@v2 with: