Skip to content

Created Project kate.shared.CommandLine #6

Created Project kate.shared.CommandLine

Created Project kate.shared.CommandLine #6

Workflow file for this run

name: NuGet Generation
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-latest
name: Update NuGet
steps:
- name: Checkout repository
uses: actions/checkout@master
# latest image has .NET already installed!
# - name: Setup .NET environment
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: '2.2.105'
- name: Build solution and generate NuGet package
run: |
cd kate.shared
dotnet pack -c Release -o out
- name: Install NuGet client
uses: warrenbuckley/Setup-Nuget@v1
- name: Add private GitHub registry to NuGet
run: nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/ktwrd/index.json -Username ktwrd -Password ${{ secrets.GITHUB_TOKEN }}
- name: Push generated package to GitHub registry
run: nuget push .\kate.shared\out\*.nupkg -Source "GPR" -SkipDuplicate