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 @@ - +