Skip to content

Commit ffb18aa

Browse files
committed
slnx
slnx
1 parent 3be84c1 commit ffb18aa

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ jobs:
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

.github/workflows/dotnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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: |

.github/workflows/nuget.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
@@ -40,7 +40,7 @@ jobs:
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

ManagedCode.Storage.sln renamed to Tests/SolutionArtifacts/ManagedCode.Storage.TestsOnly.sln

File renamed without changes.

0 commit comments

Comments
 (0)