Skip to content

Workflow file for this run

name: Publish to NuGet & Thunderstore
on:
push:
branches:
- 'master'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0'
- run: dotnet tool install -g tcli
- run: dotnet build -c Release
- run: dotnet nuget push BaboonAPI/bin/Release/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
- run: tcli publish --file BaboonAPI/bin/Release/net472/BaboonAPI-thunderstore.zip --token ${{ secrets.THUNDERSTORE_TOKEN }}