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