We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1168a80 commit ef5fca3Copy full SHA for ef5fca3
1 file changed
.github/workflows/nbgv_dotnet_pack.yml
@@ -1,4 +1,4 @@
1
-name: Pack & Publish Package
+name: NDGV Pack & Publish Package
2
3
on:
4
workflow_call:
@@ -34,7 +34,7 @@ jobs:
34
ref: ${{ inputs.checkout_ref }}
35
fetch-depth: 0
36
37
- - name: ⚙️ Setup .NET
+ - name: ⚙️ Setup .NET
38
uses: actions/setup-dotnet@v4
39
with:
40
dotnet-version: "9.0.x"
@@ -53,9 +53,13 @@ jobs:
53
if [ "${{ inputs.force_dev_prerelease }}" = "true" ]; then
54
EXTRA_FLAGS="--include-symbols --include-source"
55
fi
56
+
57
+ # Pass PublicRelease=true for a public release (omit commit ID)
58
dotnet pack --configuration ${{ inputs.build_configuration }} \
59
--no-build --no-restore \
- --output ./artifacts $EXTRA_FLAGS
60
+ --output ./artifacts \
61
+ -p:PublicRelease=true \
62
+ $EXTRA_FLAGS
63
64
- name: 🚀 Publish to NuGet
65
if: ${{ inputs.push_after_pack }}
0 commit comments