Skip to content

Commit 803e8d3

Browse files
committed
Update GHA workflow
1 parent 947e888 commit 803e8d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
if: ${{ startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest' }}
6767
shell: bash
6868
run: |
69-
dotnet pack ./src/MelonChart -c Release -o published --include-symbols
69+
dotnet pack ./src/MelonChart -c Release -o published --include-symbols -p:Version=${{ steps.version.outputs.value }}
7070
7171
- name: Upload Artifact
7272
if: ${{ startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest' }}
@@ -116,4 +116,4 @@ jobs:
116116
- name: Release to NuGet
117117
shell: bash
118118
run: |
119-
dotnet nuget push ./published/*.* --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
119+
dotnet nuget push ./published/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)