Skip to content

Commit

Permalink
Merge pull request #2149 from planetarium/bugfix/nuget-publish
Browse files Browse the repository at this point in the history
Fix nuget published lib9c dependency
  • Loading branch information
moreal authored Sep 18, 2023
2 parents 9b9db0c + 0f64a7e commit 9ff209d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ jobs:
if: github.event_name != 'pull_request'
run: |
if [[ "$NUGET_API_KEY" != "" ]]; then
dotnet nuget push ./Lib9c/.bin/Lib9c.*.nupkg \
--api-key "$NUGET_API_KEY" \
--source https://api.nuget.org/v3/index.json
for project in Lib9c Lib9c.Abstractions
do
dotnet nuget push ./$project/.bin/Lib9c.*.nupkg \
--api-key "$NUGET_API_KEY" \
--skip-duplicate \
--source https://api.nuget.org/v3/index.json
done
fi
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
Expand Down

0 comments on commit 9ff209d

Please sign in to comment.