Skip to content

Commit 46ce0aa

Browse files
Inline API key
1 parent 64a3fba commit 46ce0aa

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,7 +144,6 @@ jobs:
144144
- name: MyGet Publish
145145
shell: pwsh
146146
run: |
147-
$key = ${{secrets.MYGET_TOKEN}}
148147
$source = "https://www.myget.org/F/sixlabors/api/v3/index.json"
149-
dotnet nuget push .\artifacts\*.nupkg -k $key -sk $key -s $source -ss $source
148+
dotnet nuget push .\artifacts\*.nupkg -k ${{secrets.MYGET_TOKEN}} -sk ${{secrets.MYGET_TOKEN}} -s $source -ss $source
150149
# 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)