FFMpegCore/.github/workflows/release.yml
Malte Rosenbjerg f30ad52a0e Use .NET 5 in release pipeline
Former-commit-id: 04f78b01e5
2020-12-07 22:00:43 +01:00

20 lines
494 B
YAML

name: NuGet release
on:
push:
branches:
- release
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Prepare .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- 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 }}