Skip to content

Commit

Permalink
ci: update nuget workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matigramirez committed Oct 9, 2023
1 parent 37c3428 commit c38378b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
nuget:
name: Publish NuGet package
runs-on: ubuntu-latest
env:
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}

steps:
- uses: actions/checkout@v3
Expand All @@ -24,4 +26,5 @@ jobs:
run: dotnet pack ./src/Parsec --configuration Release

- name: Publish NuGet package
run: dotnet nuget push ./src/Parsec/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }}

run: dotnet nuget push ./src/Parsec/bin/Release/*.nupkg --api-key "$NUGET_API_KEY"

0 comments on commit c38378b

Please sign in to comment.