FFMpegCore/.github/workflows/release.yml

21 lines
494 B
YAML
Raw Normal View History

2020-02-21 17:36:12 +01:00
name: NuGet release
on:
2020-05-13 00:07:18 +02:00
push:
2020-02-21 17:36:12 +01:00
branches:
- release
jobs:
2020-02-21 17:57:12 +01:00
release:
2020-02-21 17:36:12 +01:00
runs-on: ubuntu-latest
steps:
2020-12-06 00:53:11 +01:00
- name: Checkout
2021-05-15 11:50:34 +02:00
uses: actions/checkout@v2
2020-12-07 22:00:43 +01:00
- name: Prepare .NET
uses: actions/setup-dotnet@v1
with:
2022-03-24 21:19:27 +01:00
dotnet-version: '6.0.x'
2020-10-28 19:49:39 +01:00
- name: Build solution
2020-12-06 00:53:11 +01:00
run: dotnet build --output build -c Release
2020-02-21 17:36:12 +01:00
- name: Publish NuGet package
2020-12-06 00:53:11 +01:00
run: dotnet nuget push "build/*.nupkg" --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}
2020-02-21 17:36:12 +01:00