Skip to content

Commit

Permalink
going back to setting api keys in the push command
Browse files Browse the repository at this point in the history
  • Loading branch information
rlovely committed Jan 11, 2024
1 parent 570eb27 commit 231c883
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
- name: Test
run: dotnet test --verbosity normal

- name: Set API key
run: nuget setapikey ${PUBLISH_KEY} -Source https://www.nuget.org/api/v2/package

- name: Publish
run: dotnet nuget push StateMachine/bin/Release/RoadieRichStateMachine*.nupkg
env:
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
run: dotnet nuget push StateMachine/bin/Release/RoadieRichStateMachine*.nupkg -k $PUBLISH_KEY

0 comments on commit 231c883

Please sign in to comment.