Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deadmann committed Apr 22, 2024
1 parent c97caaf commit a670a94
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: microsoft/setup-msbuild@v1

- name: Setup NuGet.exe for use with actions
uses: NuGet/setup-nuget@v1.0.2
uses: nuget/setup-nuget@v2

- name: Update NuGet
run: nuget.exe update -self
Expand Down Expand Up @@ -104,4 +104,25 @@ jobs:
- run: echo '${{ steps.stepid.outputs.dotnet-version }}'

- name: Build .NET Framework Project
run: msbuild /t:restore /p:Configuration=Release Tests/AdvancedRestHandler.Test_NetFramework/AdvancedRestHandler.Test_NetFramework.csproj
run: msbuild /t:restore /p:Configuration=Release Tests/AdvancedRestHandler.Test_NetFramework/AdvancedRestHandler.Test_NetFramework.csproj



###### MATRIX STRATEGY .... CHECK IF ARH SUPPORTS
# name: NuGet Restore
# on: [ push, pull_request ]
# jobs:
# build:
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ windows-latest, ubuntu-latest, macOS-latest ]
# nuget: [ latest, preview, 4.x, 5.3.1 ]
# name: NuGet@${{ matrix.nuget }} sample
# steps:
# - uses: actions/checkout@master
# - name: Setup NuGet.exe
# uses: nuget/setup-nuget@v2
# with:
# nuget-version: ${{ matrix.nuget }}
# - run: nuget restore MyProject.sln

0 comments on commit a670a94

Please sign in to comment.