File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed
Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 4949
5050 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151 # If this step fails, then you should remove it and run the build manually (see below)
52- - name : Autobuild
53- uses : github/codeql-action/autobuild@v3
52+ - name : Restore solution
53+ run : dotnet restore ManagedCode.Storage.slnx
54+
55+ - name : Build solution
56+ run : dotnet build ManagedCode.Storage.slnx --no-restore
5457
5558 # ℹ️ Command-line programs to run using the OS shell.
5659 # 📚 https://git.io/JvXDl
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ jobs:
2525 dotnet-version : 9.0.x
2626
2727 - name : Restore dependencies
28- run : dotnet restore
28+ run : dotnet restore ManagedCode.Storage.slnx
2929
3030 - name : Build
31- run : dotnet build
31+ run : dotnet build ManagedCode.Storage.slnx --no-restore
3232
3333 - name : Test
34- run : dotnet test /p:CollectCoverage=true /p:CoverletOutput=coverage /p:CoverletOutputFormat=opencover
34+ run : dotnet test ManagedCode.Storage.slnx --no-build /p:CollectCoverage=true /p:CoverletOutput=coverage /p:CoverletOutputFormat=opencover
3535
3636 - name : Copy coverage files
3737 run : |
Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ jobs:
2020 dotnet-version : ' 9.0.x'
2121
2222 - name : Restore dependencies
23- run : dotnet restore
23+ run : dotnet restore ManagedCode.Storage.slnx
2424
2525 - name : Build
26- run : dotnet build --configuration Release
26+ run : dotnet build ManagedCode.Storage.slnx --configuration Release --no-restore
2727
2828 - name : Test
29- run : dotnet test --configuration Release
29+ run : dotnet test ManagedCode.Storage.slnx --configuration Release --no-build
3030
3131 - name : NDepend
3232 uses : ndepend/ndepend-action@v1
4040
4141
4242 - name : Pack
43- run : dotnet pack --configuration Release -p:IncludeSymbols=false -p:SymbolPackageFormat=snupkg -o "packages"
43+ run : dotnet pack ManagedCode.Storage.slnx --configuration Release --no-build -p:IncludeSymbols=false -p:SymbolPackageFormat=snupkg -o "packages"
4444
4545 - name : Push
4646 run : dotnet nuget push "packages/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
File renamed without changes.
You can’t perform that action at this time.
0 commit comments