Skip to content

Commit 886417e

Browse files
committed
fix syntax
1 parent b9daa2a commit 886417e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,14 @@ jobs:
129129
--configuration Debug \
130130
--no-build \
131131
--output ./nupkg \
132-
--version "$VERSION"
132+
/p:PackageVersion="$VERSION"
133133
else
134+
VERSION="${{ steps.set_version.outputs.version }}"
134135
dotnet pack PSGraph.Common/PSGraph.Common.csproj \
135136
--configuration Release \
136137
--no-build \
137138
--output ./nupkg \
138-
--version "${{ steps.set_version.outputs.version }}"
139+
/p:PackageVersion="$VERSION"
139140
fi
140141
141142
- name: Publish PSGraph.Common to NuGet

0 commit comments

Comments
 (0)