Skip to content

Thunderstore Release #22

Thunderstore Release

Thunderstore Release #22

Workflow file for this run

name: Thunderstore Release
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup NuGet
uses: NuGet/setup-nuget@v1
- name: Setup TCLI
run: dotnet tool install --global tcli
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Build and Publish
run: |
dotnet build --configuration Release
cd Thunderstore
tcli publish --token ${{ secrets.TCLI_AUTH_TOKEN }}