File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
tests/nugraph.Tests/Support Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Continuous Integration
33on : push
44
55env :
6- Configuration : Release
76 ContinuousIntegrationBuild : true
87 DOTNET_CLI_TELEMETRY_OPTOUT : true
98 DOTNET_NOLOGO : true
3534 uses : actions/setup-dotnet@v5
3635 with :
3736 dotnet-version : |
38- 10.0.100
37+ 10.0.x
3938 8.0.x
4039 - name : ℹ️ Show .NET info
4140 run : dotnet --info
@@ -49,14 +48,14 @@ jobs:
4948 - name : ⚙️ Restore NuGet packages
5049 run : dotnet restore
5150 - name : 🏗 Build solution
52- run : dotnet build --no-restore
51+ run : dotnet build --no-restore --configuration Release
5352 - name : 📜 Fix README for nuget.org
5453 run : dotnet run --project tools/mmd/mmd.csproj -- README.md ${{ github.sha }} README.md
5554 - name : 🧪 Run tests
5655 env :
5756 TUNIT_DISABLE_GITHUB_REPORTER : true
5857 # The .nupkg file is created as part of integration tests
59- run : dotnet test --no-build
58+ run : dotnet test --no-build --configuration Release
6059 - name : 📤 Upload test results
6160 uses : actions/upload-artifact@v5
6261 if : always()
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://www.schemastore.org/global.json" ,
3- "sdk" : {
4- "version" : " 10.0.100"
5- },
63 "test" : {
74 "runner" : " Microsoft.Testing.Platform"
85 }
Original file line number Diff line number Diff line change @@ -92,6 +92,8 @@ private async Task PackAsync()
9292 if ( IsContinuousIntegrationBuild )
9393 {
9494 packArgs . Add ( "--no-build" ) ;
95+ packArgs . Add ( "--configuration" ) ;
96+ packArgs . Add ( "Release" ) ;
9597 }
9698 var packageVersion = await RunDotnetAsync ( packArgs . ToArray ( ) ) ;
9799 _version = packageVersion . TrimEnd ( ) ;
You can’t perform that action at this time.
0 commit comments