Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Mar 23, 2023
1 parent 17c83a1 commit f4afb09
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,26 @@ jobs:
uses: actions/checkout@v3

- name: Setup MSBuild Path
uses: warrenbuckley/Setup-MSBuild@v1
uses: microsoft/setup-msbuild@v1.1
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

- name: Setup Nuget
uses: NuGet/setup-nuget@v1.1.1
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

- name: Setup VSTest
uses: darenm/Setup-VSTest@v1

- name: Restore NuGet Packages
run: nuget restore GHActionsCI.sln

- name: Build
run: msbuild GHActionsCI.sln /p:Configuration=Release

- name: Test
run: vstest.console.exe .\Test\GHActionsCI.UnitTests\bin\Release\GHActionsCI.UnitTests.dll

- name: Run
run: Src\GHActionsCI\bin\Release\GHActionsCI.exe
Expand Down

0 comments on commit f4afb09

Please sign in to comment.