Skip to content

Commit

Permalink
fix: can not publish nuget package to NuGet.org (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuju63 authored Jun 24, 2023
1 parent d226d69 commit 4e750ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ jobs:
with:
name: BatchSharp
- name: Publish NuGet IT
if: inputs.create_release
if: ${{ !inputs.create_release }}
run: dotnet nuget push *.nupkg --source ${{ vars.NUGET_IT_SERVER }} --api-key ${{ secrets.GITHUB_TOKEN }}
- name: Publish NuGet
if: ${{ !inputs.create_release }}
if: inputs.create_release
run: dotnet nuget push *.nupkg --source ${{ vars.NUGET_SERVER }} --api-key ${{ secrets.NUGET_API_KEY }}
release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4e750ea

Please sign in to comment.