Skip to content

Commit

Permalink
fixing nuget push command
Browse files Browse the repository at this point in the history
  • Loading branch information
lamg committed Jan 10, 2024
1 parent a84d684 commit 99e36d8
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 @@ -19,18 +19,18 @@ jobs:
dotnet paket restore
dotnet publish -c Release
dotnet pack
dotnet nuget push nupkg/*.nupgk -s
dotnet nuget push nupkg/*.nupgk -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
working-directory: ./Cli
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

- name: publish migtool
- name: publish MigrateLib
run: |
dotnet tool restore
dotnet paket restore
dotnet publish -c Release
dotnet pack
dotnet nuget push nupkg/*.nupgk -s
dotnet nuget push nupkg/*.nupgk -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
working-directory: ./Lib
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

0 comments on commit 99e36d8

Please sign in to comment.