Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NightHammer1000 committed Nov 24, 2023
1 parent 2872a3f commit f8a32bb
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,19 @@ jobs:
runs-on: windows-2019

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '4.6.2'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- uses: actions/checkout@v3

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.3.1

- name: Setup NuGet
uses: NuGet/setup-nuget@v1.2.0

- name: setup-msbuild
uses: microsoft/setup-msbuildv@1.3.1

- name: Restore Packages
run: nuget restore MicroSDInstallStatusUpdater.sln

- name: Build solution
run: msbuild MicroSDInstallStatusUpdater.sln -t:rebuild -property:Configuration=Release

0 comments on commit f8a32bb

Please sign in to comment.