Skip to content

Commit

Permalink
Update push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxiaoyu authored Mar 31, 2020
1 parent 7e032d9 commit 4a792ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ jobs:
version=`git describe --tags`
cd src/Mingxiaoyu.Microsoft.EntityFrameworkCore
dotnet pack --output out --configuration Release -p:Version=$version
dotnet nuget push out/Mingxiaoyu.Microsoft.EntityFrameworkCore.$version.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
- name: Push generated package to GitHub registry
run: |
version=`git describe --tags`
cd src/Mingxiaoyu.Microsoft.EntityFrameworkCore/out
dotnet nuget push Mingxiaoyu.Microsoft.EntityFrameworkCore.$version.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}

0 comments on commit 4a792ac

Please sign in to comment.