FFMpegCore/.github/workflows/release.yml
Malte Rosenbjerg 94d93fa5fe Explicit Release build
Former-commit-id: 45bc6ac635
2020-12-06 00:53:11 +01:00

16 lines
389 B
YAML

name: NuGet release
on:
push:
branches:
- release
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build solution
run: dotnet build --output build -c Release
- name: Publish NuGet package
run: dotnet nuget push "build/*.nupkg" --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}