diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index e0dd7c1778..f8e105ebb0 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -32,7 +32,7 @@ jobs: - name: Install dependencies run: dotnet restore - name: Build - run: dotnet build --configuration Release --no-restore /m + run: dotnet build --property WarningLevel=${{ matrix.os == 'ubuntu-latest' && '4' || '0' }} --configuration Release --no-restore /m - name: Content.Tests shell: pwsh run: | @@ -80,3 +80,4 @@ jobs: title: "Development Build" files: | artifacts/*/*.tar.gz + diff --git a/.github/workflows/compiler-test.yml b/.github/workflows/compiler-test.yml index ddaa73b4f3..9f8d7b28fa 100644 --- a/.github/workflows/compiler-test.yml +++ b/.github/workflows/compiler-test.yml @@ -31,7 +31,7 @@ jobs: - name: Install dependencies run: dotnet restore main/DMCompiler/DMCompiler.csproj - name: Build - run: dotnet build main/DMCompiler/DMCompiler.csproj --configuration Release --no-restore /m + run: dotnet build main/DMCompiler/DMCompiler.csproj --property WarningLevel=0 --configuration Release --no-restore /m - name: Compile TestGame run: main\bin\DMCompiler\DMCompiler.exe main\TestGame\environment.dme - name: Checkout /tg/station Master