Skip to content

Commit

Permalink
fix nuget push (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Aug 23, 2024
1 parent 36a4399 commit 7bc96d1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/Windows_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ jobs:
- name: Push Packages
run: dotnet nuget push "output/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
shell: pwsh
run: |
$ErrorActionPreference = "Stop" # Makes the script stop on errors
Get-ChildItem "output\*.nupkg" -Recurse | ForEach-Object {
dotnet nuget push $_.FullName --api-key " ${{ secrets.NUGET_KEY }}" --source https://api.nuget.org/v3/index.json
}
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 7bc96d1

Please sign in to comment.