From 1c36f3ff87cbefee538826bdb624e47e66307f47 Mon Sep 17 00:00:00 2001 From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com> Date: Fri, 13 Oct 2023 12:04:31 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3768147..db2576c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,8 +10,8 @@ jobs: build: runs-on: self-hosted - #env: - #MSBUILD_PATH: 'C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe' + env: + MSBUILD_PATH: 'C:\Program Files\MSBuild\12.0\Bin\MSBuild.exe' defaults: run: @@ -22,15 +22,13 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.3.1 + - name: Restore Packages run: dotnet restore SourceGrid_2013.sln - name: Build - run: msbuild -m -t:Rebuild -p:Configuration=Release -bl:continous-clearing.binlog -noconlog SourceGrid_2013.sln + run: ${{ env.MSBUILD_PATH }} SourceGrid_2013.sln - name: Archive Build Log uses: actions/upload-artifact@v2