@@ -37,16 +37,35 @@ jobs:
3737 uses : NuGet/setup-nuget@v1
3838
3939 - name : Clean Solution
40- run : dotnet clean --verbosity detailed
40+ run : dotnet clean --verbosity minimal
4141
4242 - name : Restore Dependencies
43- run : dotnet restore $SOLUTION --verbosity detailed
43+ run : dotnet restore $SOLUTION --verbosity minimal
4444
4545 - name : Build
46- run : dotnet build $SOLUTION --configuration $BUILD_CONFIG --no-restore --verbosity detailed --property:Version="${{ steps.date.outputs.formattedTime }}.${{ env.DOTNET_VERSION }}.${{ github.run_number }}" --property:DebugType=pdbonly --property:Deterministic=true --property:PublishRepositoryUrl=true --property:EmbedAllSources=true --property:EmbedUntrackedSources=true --property:ContinuousIntegrationBuild=true --property:DeterministicSourcePaths=true --property:IncludeSymbols=true --property:SymbolPackageFormat=snupkg
46+ run : |
47+ # Print the content of the failing file
48+ cat /home/runner/work/Convey/Convey/src/Convey.MessageBrokers.RabbitMQ/src/Convey.MessageBrokers.RabbitMQ/Clients/RabbitMqClient.cs
49+
50+ VERSION="${{ steps.date.outputs.formattedTime }}.${{ env.DOTNET_VERSION }}.${{ github.run_number }}"
51+
52+ dotnet build $SOLUTION \
53+ --configuration $BUILD_CONFIG \
54+ --no-restore \
55+ --verbosity minimal \
56+ --property:Version="$VERSION" \
57+ --property:DebugType=pdbonly \
58+ --property:Deterministic=true \
59+ --property:PublishRepositoryUrl=true \
60+ --property:EmbedAllSources=true \
61+ --property:EmbedUntrackedSources=true \
62+ --property:ContinuousIntegrationBuild=true \
63+ --property:DeterministicSourcePaths=true \
64+ --property:IncludeSymbols=true \
65+ --property:SymbolPackageFormat=snupkg
4766
4867 - name : Run Tests
49- run : dotnet test --configuration $BUILD_CONFIG --no-restore --no-build --verbosity detailed
68+ run : dotnet test --configuration $BUILD_CONFIG --no-restore --no-build --verbosity minimal
5069
5170 - name : Publish Packages
5271 run : dotnet nuget push **\*.nupkg --source 'https://nuget.pkg.github.com/mehyaa/index.json' --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
0 commit comments