Skip to content

Commit c4fd795

Browse files
Merge pull request #141 from SixLabors/js/fix-build
Use correct arguments
2 parents 710fb73 + fb43504 commit c4fd795

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
- name: MyGet Publish
145145
shell: pwsh
146146
run: |
147-
dotnet nuget push .\artifacts\*.nupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v2/package
148-
dotnet nuget push .\artifacts\*.snupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v3/index.json
147+
$source = "https://www.myget.org/F/sixlabors/api/v2/package"
148+
$symbolSource = "https://www.myget.org/F/sixlabors/api/v3/index.json"
149+
dotnet nuget push .\artifacts\*.nupkg ${{secrets.MYGET_TOKEN}} --source $source --symbol-source $symbolSource
149150
# 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)