Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prasenjeetnath authored Oct 13, 2023
1 parent f3f3778 commit 1c36f3f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -22,15 +22,13 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Add msbuild to PATH
uses: microsoft/[email protected]


- 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
Expand Down

0 comments on commit 1c36f3f

Please sign in to comment.