Skip to content

GogoKit - Deploy

GogoKit - Deploy #36

name: GogoKit - Deploy
on: workflow_dispatch
jobs:
deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Restore dependencies
run: dotnet restore
- name: Create the package
run: dotnet build --configuration Release src/GogoKit/GogoKit.csproj --no-restore
- name: Publish the package
run: dotnet nuget push src\GogoKit\bin\Release\*.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGET_API_KEY }}