Skip to content

Commit 9efabe2

Browse files
committed
FIX CI - packaging src path
1 parent 51f5895 commit 9efabe2

1 file changed

Lines changed: 5 additions & 20 deletions

File tree

.github/workflows/release-nuget.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,26 +45,11 @@ jobs:
4545
# Restore using the solution
4646
- name: Restore
4747
run: dotnet restore "${{ steps.solution.outputs.SOLUTION_PATH }}"
48-
49-
# Build solution in Release
50-
- name: Build
51-
run: dotnet build "${{ steps.solution.outputs.SOLUTION_PATH }}" --configuration Release --no-restore
52-
53-
# Run ALL tests in the solution
54-
- name: Test
55-
run: dotnet test "${{ steps.solution.outputs.SOLUTION_PATH }}" --configuration Release --no-build --verbosity normal
56-
- name: Pack FluentAAS Builder
57-
run: dotnet pack src/FluentAAS/FluentAAS.Builder/FluentAAS.Builder.csproj -c Release -o ./artifacts /p:PackageVersion=${{ steps.version.outputs.FULL_VERSION }}
58-
59-
- name: Pack FluentAAS Core
60-
run: dotnet pack src/FluentAAS/FluentAAS.Core/FluentAAS.Core.csproj -c Release -o ./artifacts /p:PackageVersion=${{ steps.version.outputs.FULL_VERSION }}
61-
62-
- name: Pack FluentAAS IO
63-
run: dotnet pack src/FluentAAS/FluentAAS.IO/FluentAAS.IO.csproj -c Release -o ./artifacts /p:PackageVersion=${{ steps.version.outputs.FULL_VERSION }}
64-
65-
- name: Pack FluentAAS Templates
66-
run: dotnet pack src/FluentAAS/FluentAAS.Templates/FluentAAS.Templates.csproj -c Release -o ./artifacts /p:PackageVersion=${{ steps.version.outputs.FULL_VERSION }}
67-
48+
49+
# Pack all packable projects in the solution into ./artifacts with unified version
50+
- name: Pack all NuGet projects
51+
run: dotnet pack "./FluentAAS/FluentAAS.sln" -c Release -o ./artifacts /p:PackageVersion=${{ steps.version.outputs.FULL_VERSION }}
52+
6853
# Publish NuGet packages to nuget.org
6954
- name: Publish to NuGet
7055
run: dotnet nuget push "./artifacts/*.nupkg" \

0 commit comments

Comments
 (0)