Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thepirat000 authored Dec 14, 2023
1 parent d94b8a2 commit 513ee9a
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,11 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
1.0.4
2.1.x
3.1.x
5.0.x
6.0.x
7.0.x
- name: Setup MSBuild
uses: microsoft/[email protected]
with:
vs-version: '[17.0,18.0)'

- name: Setup NuGet
uses: NuGet/[email protected]
env:
Expand All @@ -56,16 +49,9 @@ jobs:
echo "Execute Demo.sql"
sqlcmd -i ".\test\Audit.EntityFramework.Core.UnitTest\Demo.sql" -d "master" -I
- name: Nuget Restore
run: nuget restore Audit.NET.sln

- name: Dotnet Restore
run: dotnet restore

- name: MsBuild Audit.EntityFramework.UnitTest
run: |
msbuild.exe .\test\Audit.EntityFramework.UnitTest -p:Configuration=Release
- name: Dotnet Build Audit.NET.sln
run: dotnet build .\Audit.NET.sln --no-restore --configuration release

Expand Down

0 comments on commit 513ee9a

Please sign in to comment.