FFMpegCore/.github/workflows/release.yml

24 lines
531 B
YAML
Raw Permalink Normal View History

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