Thunderstore Release #22
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: 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 }} |