Skip to content

Commit

Permalink
Update release.yml (#1523)
Browse files Browse the repository at this point in the history
add shell: pwsh, so release to nuget knows which shell to use
  • Loading branch information
mikeebowen authored Sep 5, 2023
1 parent 11d528b commit b2a14c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
additional-denied-words: ''

- name: Publish NuGet package
shell: pwsh
run: |
foreach($file in (Get-ChildItem "${{ github.workspace }}/artifacts" -Recurse -Include *.nupkg)) {
dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
Expand Down

0 comments on commit b2a14c1

Please sign in to comment.