Skip to content

Commit c5e09a2

Browse files
authored
chore: fix pwsh env var syntax in publish.yml (#591)
1 parent ad36023 commit c5e09a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
shell: pwsh
7070
run: |
7171
dotnet nuget push "${{ env.PACKAGE_OUTPUT_PATH }}/*.nupkg" `
72-
-k ${NUGET_TOKEN} `
73-
-s https://api.nuget.org/v3/index.json
72+
--api-key "$Env:NUGET_TOKEN" `
73+
--source "https://api.nuget.org/v3/index.json"
7474
env:
7575
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}

0 commit comments

Comments
 (0)