Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prasenjeetnath committed Oct 13, 2023
1 parent f0140f9 commit a0eada9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ jobs:

build:
runs-on: self-hosted


env:
MSBUILD_PATH: 'C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe'

defaults:
run:
working-directory: .
Expand All @@ -22,16 +25,10 @@ jobs:


- name: Restore Packages
run: dotnet restore SourceGrid_2013.sln


- name: Add msbuild to PATH
uses: microsoft/[email protected]
with:
vs-version: '[12.0,12.5]'
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 }} -m -t:Rebuild -p:Configuration=Release -bl:continous-clearing.binlog -noconlog SourceGrid_2013.sln

- name: Archive Build Log
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit a0eada9

Please sign in to comment.