Skip to content

Commit

Permalink
- add step env (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuyen-vuduc authored Dec 12, 2022
1 parent d29b160 commit f59e3c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ jobs:
sh build.sh --target=nuget --base-path=$PWD
- name: Publish with Dotnet CLI
env:
NUGET_PUSH_API_KEY: ${{ secrets.NUGET_PUSH_API_KEY }}
shell: bash
run: |
dotnet nuget push nugets/*.nupkg --api-key "$NUGET_PUSH_API_KEY" --source https://api.nuget.org/v3/index.json --skip-duplicate
dotnet nuget push ./nugets/*.nupkg --api-key "$NUGET_PUSH_API_KEY" --source https://api.nuget.org/v3/index.json --skip-duplicate
# publish:
# runs-on: macos-latest
Expand Down

0 comments on commit f59e3c0

Please sign in to comment.