Skip to content

MediaAccount.Client 1.0 #8

MediaAccount.Client 1.0

MediaAccount.Client 1.0 #8

Workflow file for this run

name: publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.x.x
- run: dotnet pack -o dist -c Release "Source/MediaAccount.Client/MediaAccount.Client.csproj"
- name: Publish NuGet package
run: dotnet nuget push "dist/*.nupkg" --api-key "${{ secrets.NUGET_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate