Skip to content

Commit

Permalink
Infrastructure Preparation 295
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Aug 7, 2024
1 parent 59b9754 commit 3cb3f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ jobs:
dotnet-quality: preview

- name: Restore the Skylark
run: dotnet restore ${{ matrix.solution }} -p:Configuration=${{ matrix.configuration }} -p:UseSharedCompilation=false
env:
NUGET_CONFIG_PATH: ./NuGet.Config
run: dotnet restore ${{ matrix.solution }} -p:Configuration=${{ matrix.configuration }} -p:UseSharedCompilation=false --configfile ./NuGet.Config

- name: Build the Skylark
run: dotnet build ${{ matrix.solution }} -c ${{ matrix.configuration }} -p:UseSharedCompilation=false --no-restore /nowarn:CS0067,CS0108,CS0109,CS0114,CS0169,CS0414,CS0618,CS0649,CS8632,CA1416,NU5104,NETSDK1138,SYSLIB0003
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,10 @@ jobs:

# Execute all unit tests in the solution
- name: Execute Unit Tests
run: dotnet test ${{ matrix.solution }} -c ${{ matrix.configuration }} /nowarn:CS0067,CS0108,CS0109,CS0114,CS0169,CS0414,CS0649,CA1416,NU5104,NETSDK1138,SYSLIB0003
env:
NUGET_CONFIG_PATH: ./NuGet.Config
run: dotnet test ${{ matrix.solution }} -c ${{ matrix.configuration }} --configfile ./NuGet.Config /nowarn:CS0067,CS0108,CS0109,CS0114,CS0169,CS0414,CS0649,CA1416,NU5104,NETSDK1138,SYSLIB0003

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the Skylark
run: msbuild ${{ matrix.solution }} /t:Restore /p:Configuration=$env:Configuration
env:
NUGET_CONFIG_PATH: ./NuGet.Config
Configuration: ${{ matrix.configuration }}

0 comments on commit 3cb3f6d

Please sign in to comment.