Browse Source

Update dotnet-desktop.yml

Marcin Ziąbek 1 year ago
parent
commit
bee31497e3
1 changed files with 6 additions and 3 deletions
  1. 6 3
      .github/workflows/dotnet-desktop.yml

+ 6 - 3
.github/workflows/dotnet-desktop.yml

@@ -36,10 +36,12 @@ jobs:
       - name: Checkout sources
         uses: actions/checkout@v4
 
+
       - name: Setup dotnet
-        uses: actions/setup-dotnet@v4
+        uses: actions/setup-dotnet@v3
         with:
-          dotnet-version: '8.0.x'
+          dotnet-version: '6.0.x'
+
 
       - name: Build solution
         shell: bash
@@ -47,10 +49,11 @@ jobs:
         env:
           TEST_SHOW_RESULTS: false
         run: |
-          dotnet build -c Release
+          dotnet build -c Release --property WarningLevel=0
           dotnet test QuestPDF.UnitTests --runtime ${{ matrix.runtime.name }}
           dotnet test QuestPDF.LayoutTests --runtime ${{ matrix.runtime.name }}
           # dotnet test QuestPDF.Examples --runtime ${{ matrix.runtime.name }}
+
         
       - name: Upload build artifacts
         uses: actions/upload-artifact@v4