mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-14 02:04:14 +01:00
19 lines
478 B
YAML
19 lines
478 B
YAML
name: NuGet release
|
|
on:
|
|
push:
|
|
branches:
|
|
- release
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 3.1
|
|
- name: Build solution
|
|
run: dotnet build --output build
|
|
- name: Publish NuGet package
|
|
run: dotnet nuget push "build/*.nupkg" --skip-duplicate --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}
|
|
|