From 17a04c80e88c9dd2c88791f07dc86bd77ae86f69 Mon Sep 17 00:00:00 2001 From: Mehdi Hadeli Date: Tue, 17 Dec 2024 20:10:36 +0330 Subject: [PATCH] fix: :green_heart: fix ci build --- .github/workflows/publish.yml | 5 +++-- vertical-slice-template.nuspec | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 947821e..4bac712 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -65,8 +65,9 @@ jobs: # https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-pack - name: Pack NuGet Package Version ${{ steps.get_version.outputs.nuget_version }} - run: nuget pack vertical-slice-template.nuspec -OutputDirectory ${{ env.NuGetDirectory }} -Properties "version=${{ steps.get_version.outputs.nuget_version }}" -NoDefaultExcludes -c Release --no-restore --no-build - + # default is `no-build` for `nuget pack` command + run: nuget pack vertical-slice-template.nuspec -OutputDirectory ${{ env.NuGetDirectory }} -Properties "version=${{ steps.get_version.outputs.nuget_version }}" -NoDefaultExcludes -NoPackageAnalysis + # Publish the NuGet package as an artifact, so they can be used in the following jobs - name: Upload Package Version ${{ steps.get_version.outputs.nuget_version }} uses: actions/upload-artifact@v4 diff --git a/vertical-slice-template.nuspec b/vertical-slice-template.nuspec index aa09787..9c82eb7 100644 --- a/vertical-slice-template.nuspec +++ b/vertical-slice-template.nuspec @@ -11,7 +11,7 @@ - +