Skip to content

v2.2.3 (#26)

v2.2.3 (#26) #10

Workflow file for this run

name: Publish to NuGet
on:
push:
branches:
- 'main'
jobs:
build:
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 bin/Release/*.nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json
- run: tcli publish --file bin/Release/net472/TrombLoader-thunderstore.zip --token ${{ secrets.THUNDERSTORE_TOKEN }}