Skip to content

Commit

Permalink
Fix auto deploy (#38)
Browse files Browse the repository at this point in the history
* Change source escaping
* Rearrange arguments
* Fix API_TOKEN
  • Loading branch information
Ygg01 authored Oct 23, 2023
1 parent dee4869 commit d3bfd3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@ jobs:
- name: Publish NuGet package
run: |
foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")) {
dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
dotnet nuget push $file --source "https://api.nuget.org/v3/index.json" --skip-duplicate --api-key "${{ secrets.NUGET_API_KEY }}"
}

0 comments on commit d3bfd3c

Please sign in to comment.