Delete LICENSE.md #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |