Skip to content

Commit cd7384e

Browse files
Update build-and-test.yml
1 parent 6d63a19 commit cd7384e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ jobs:
144144
- name: MyGet Publish
145145
shell: pwsh
146146
run: |
147-
$apiKey = ${{secrets.MYGET_TOKEN}}
148147
$source = "https://www.myget.org/F/sixlabors/api/v2/package"
149148
$symbolSource = "https://www.myget.org/F/sixlabors/api/v3/index.json"
150-
dotnet nuget push .\artifacts\*.nupkg -k = $apiKey -sk $apiKey -s $source -ss $symbolSource
149+
dotnet nuget push .\artifacts\*.nupkg -k ${{secrets.MYGET_TOKEN}} -sk ${{secrets.MYGET_TOKEN}} -s $source -ss $symbolSource
151150
# TODO: If github.ref starts with 'refs/tags' then it was tag push and we can optionally push out package to nuget.org

0 commit comments

Comments
 (0)