mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-14 02:04:14 +01:00
f7a325b2e3
Former-commit-id: ba2e31c43b
23 lines
529 B
YAML
23 lines
529 B
YAML
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
|
|
run: dotnet pack FFMpegCore.sln --output build -c Release
|
|
|
|
- name: Publish NuGet package
|
|
run: dotnet nuget push build/*.nupkg --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}
|
|
|