Update release.yml

This commit is contained in:
Malte Rosenbjerg 2020-02-21 17:48:29 +01:00 committed by GitHub
parent 8983b94b84
commit 15bedea183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,5 +22,6 @@ jobs:
- name: Run unit tests - name: Run unit tests
run: dotnet test run: dotnet test
- name: Publish NuGet package - name: Publish NuGet package
if: github.event.pull_request.merged
run: NUPKG=`find . -type f -name FFMpegCore*.nupkg` && dotnet nuget push $NUPKG -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json run: NUPKG=`find . -type f -name FFMpegCore*.nupkg` && dotnet nuget push $NUPKG -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json