Skip to content

Commit bf64ead

Browse files
committed
Update main.yml
1 parent 866b450 commit bf64ead

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,17 @@ jobs:
4343
- name: Checkout code
4444
uses: actions/checkout@v2
4545

46-
- name: Setup .NET Core SDK
47-
uses: actions/setup-dotnet@v1
48-
with:
49-
dotnet-version: '4.8' # or whichever version you need for .NET Framework
50-
- run: echo '${{ steps.stepid.outputs.dotnet-version }}'
51-
52-
- name: Build .NET Standard DLL
53-
run: dotnet build -c Release AdvancedRestHandler/AdvancedRestHandler.csproj
46+
- name: Setup MSBuild
47+
uses: microsoft/setup-msbuild@v1
48+
49+
- name: Setup NuGet.exe for use with actions
50+
uses: NuGet/setup-nuget@b1.0.2
51+
52+
- name: Restore NuGet packages
53+
run: nuget restore AdvancedRestHandler/AdvancedRestHandler.csproj
54+
55+
- name: Build the Project
56+
run: msbuild AdvancedRestHandler/AdvancedRestHandler.csproj
5457

5558
build-test-dotnet:
5659
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)