Skip to content

Commit

Permalink
Merge pull request #95 from Hau-Hau/7-release-workflow
Browse files Browse the repository at this point in the history
fix name of nuget push parameter
  • Loading branch information
Hau-Hau authored Sep 22, 2024
2 parents f9a22fa + 0075205 commit e2ae30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/release-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ runs:
shell: bash
run: |
version=$(sed -n 's:.*<version>\(.*\)</version>.*:\1:p' ./${{ inputs.project }}/${{ inputs.project }}.nuspec)
dotnet nuget push "./${{ inputs.project }}/bin/Release/${{ inputs.project }}.$version.nupkg" --api-key ${{ inputs.NUGET_API_KEY }} -src https://api.nuget.org/v3/index.json
dotnet nuget push "./${{ inputs.project }}/bin/Release/${{ inputs.project }}.$version.nupkg" --api-key ${{ inputs.NUGET_API_KEY }} -source https://api.nuget.org/v3/index.json

0 comments on commit e2ae30f

Please sign in to comment.