From 7a19ac6774d72002210893f43ec3273f61a4b633 Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Wed, 8 May 2024 22:42:04 +0200 Subject: [PATCH] use normal nuget? --- .github/workflows/dotnet.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index f54eb2ad22..9c4f7657f7 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -16,18 +16,19 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 7.x.x - - name: Add msbuild to PATH + - name: Setup MsBuild uses: microsoft/setup-msbuild@v2 + - uses: nuget/setup-nuget@v2 + with: + nuget-version: '5.x' + - name: NuGet Restore + run: nuget restore DUI3-DX.slnf # - name: Restore tools # run: dotnet tool restore # - name: Code formatting check # run: dotnet csharpier --check . - - name: Restore projects - run: dotnet restore DUI3-DX.slnf + # - name: Restore projects + # run: dotnet restore DUI3-DX.slnf - name: Build run: msbuild DUI3-DX.slnf /p:Configuration=Release /p:IsDesktopBuild=false - name: Upload artifacts