mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
0d57cabca1
Former-commit-id: 5dcbcfeaaf
20 lines
494 B
YAML
20 lines
494 B
YAML
name: NuGet release
|
|
on:
|
|
push:
|
|
branches:
|
|
- release
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Prepare .NET
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: '6.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 }}
|
|
|