Skip to content

Commit 6d63a19

Browse files
Merge pull request #143 from SixLabors/js/fix-build
Fix Nuget API Key Config
2 parents c26fedd + 902804f commit 6d63a19

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ jobs:
144144
- name: MyGet Publish
145145
shell: pwsh
146146
run: |
147+
$apiKey = ${{secrets.MYGET_TOKEN}}
147148
$source = "https://www.myget.org/F/sixlabors/api/v2/package"
148149
$symbolSource = "https://www.myget.org/F/sixlabors/api/v3/index.json"
149-
dotnet nuget push .\artifacts\*.nupkg --symbol-api-key ${{secrets.MYGET_TOKEN}} --source $source --symbol-source $symbolSource
150+
dotnet nuget push .\artifacts\*.nupkg -k = $apiKey -sk $apiKey -s $source -ss $symbolSource
150151
# 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)