mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
23 lines
584 B
YAML
23 lines
584 B
YAML
name: NuGet release
|
|
on:
|
|
push:
|
|
branches:
|
|
- release
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Prepare FFMpeg
|
|
run: sudo apt-get update && sudo apt-get install -y ffmpeg
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 3.1
|
|
- name: Build solution -c Release
|
|
run: dotnet build --output build
|
|
- name: Run unit tests
|
|
run: dotnet test
|
|
- name: Publish NuGet package
|
|
run: dotnet nuget push "*.nupkg" --source build --skip-duplicate
|
|
|