Skip to content

v1.3.1

v1.3.1 #8

Workflow file for this run

# Action to publish a new version of the package to NuGet
name: Publish
on:
release:
types: [released]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore RTSP.sln
- name: Build
run: dotnet build --no-restore --configuration Release RTSP.sln
- name: Publish
run: dotnet nuget push RTSP/bin/Release/SharpRTSP*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}