Skip to content

Target latest TGD compatible version #28

Target latest TGD compatible version

Target latest TGD compatible version #28

Workflow file for this run

name: Build and package
on: push
jobs:
package:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Build
run: cd templates/basic && dotnet build
- name: Pack
run: dotnet pack
- name: Publish to Nuget
if: contains(github.ref, 'refs/tags/v')
run: dotnet nuget push ./bin/Debug/Terminal.Gui.templates.$(fgrep \<PackageVersion\> ./Terminal.Gui.templates.csproj | grep -oEi '[0-9.]+').nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json