FFMpegCore/.github/workflows/release.yml
2024-12-04 20:48:59 +02:00

23 lines
531 B
YAML

name: NuGet release
on:
push:
branches:
- release
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Build solution
run: dotnet pack FFMpegCore.sln -c Release
- name: Publish NuGet package
run: dotnet nuget push nupkg/*.nupkg --skip-duplicate --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}