Skip to content

Commit

Permalink
fix: 💚 fix ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli committed Dec 17, 2024
1 parent 174f342 commit 17a04c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vertical-slice-template.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!-- https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-install-->
<!-- https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-uninstall-->
<!-- dotnet pack -p:NuspecFile=vertical-slice-template.nuspec -o nuget -c Debug /p:NuspecProperties="version=1.3.6;id=Vertical.Slice.Template" -->
<!-- nuget pack vertical-slice-template.nuspec -OutputDirectory ./nuget -Properties "version=1.3.6" -NoDefaultExcludes-->
<!-- nuget pack vertical-slice-template.nuspec -OutputDirectory ./nuget -Properties "version=1.3.6" -NoDefaultExcludes -Build -NoPackageAnalysis -->
<!-- dotnet new install ./Vertical.Slice.Template.1.3.6.nupkg-->
<!-- dotnet new uninstall-->
<!-- dotnet new uninstall Vertical.Slice.Template-->
Expand Down

0 comments on commit 17a04c8

Please sign in to comment.