Skip to content

Commit

Permalink
Fix one too many nuget package being build
Browse files Browse the repository at this point in the history
  • Loading branch information
RobThree committed Mar 7, 2024
1 parent d1997dd commit 4923e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/punlishnuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: dotnet test -c Release --no-restore --no-build

- name: Create package
run: dotnet pack -c Release --no-restore --no-build -p:Version="${{ github.event.release.tag_name }}"
run: dotnet pack ${{ github.event.repository.name }} -c Release --no-restore --no-build -p:Version="${{ github.event.release.tag_name }}"

- name: Publish
run: dotnet nuget push **\*.nupkg -s 'https://api.nuget.org/v3/index.json' -k ${{secrets.NUGET_API_KEY}}

0 comments on commit 4923e07

Please sign in to comment.