Skip to content

Commit

Permalink
Fix publish file allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Aug 11, 2022
1 parent 1ef52c1 commit 52ad071
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
name: build

- name: Publish the ${{ matrix.lib }} package to nuget.org
run: dotnet nuget push ${{ matrix.lib }}.*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push ${{ matrix.lib }}/bin/Release/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
- name: Publish the ${{ matrix.lib }} package to github.com
run: dotnet nuget push ${{ matrix.lib }}.*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/bigbang1112/index.json --skip-duplicate
run: dotnet nuget push ${{ matrix.lib }}/bin/Release/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/bigbang1112/index.json --skip-duplicate
- name: Upload the ${{ matrix.lib }} package to the release
uses: svenstaro/upload-release-action@v2
with:
file: ${{ matrix.lib }}.*.nupkg
file: ${{ matrix.lib }}/bin/Release/*.nupkg
file_glob: true
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 52ad071

Please sign in to comment.