FFMpegCore/.github/workflows/release.yml

20 lines
478 B
YAML
Raw Normal View History

2020-02-21 16:36:12 +00:00
name: NuGet release
on:
2020-05-12 22:07:18 +00:00
push:
2020-02-21 16:36:12 +00:00
branches:
- release
jobs:
2020-02-21 16:57:12 +00:00
release:
2020-02-21 16:36:12 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
2020-05-12 22:07:18 +00:00
dotnet-version: 3.1
2020-10-28 18:49:39 +00:00
- name: Build solution
2020-10-28 18:46:31 +00:00
run: dotnet build --output build
2020-02-21 16:36:12 +00:00
- name: Publish NuGet package
2020-10-28 19:29:48 +00:00
run: dotnet nuget push "build/*.nupkg" --skip-duplicate --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}
2020-02-21 16:36:12 +00:00