Repository navigation
Bundle Release #3
Workflow file for this run
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: Publish to Thunderstore | |
| on: | |
| push: | |
| tags: | |
| - "v*.*.*" | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Restore | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build -c Release --no-restore | |
| - name: Prepare Thunderstore package | |
| run: | | |
| mkdir -p thunderstore/BepInEx/plugins/BetterMediaControls | |
| # plugin dll | |
| cp bin/Release/netstandard2.1/BetterMediaControls.dll \ | |
| thunderstore/BepInEx/plugins/BetterMediaControls/ | |
| # runtime assets | |
| cp -r audio thunderstore/BepInEx/plugins/BetterMediaControls/ || true | |
| cp -r icons thunderstore/BepInEx/plugins/BetterMediaControls/ || true | |
| # thunderstore metadata | |
| cp manifest.json thunderstore/ | |
| cp README.md thunderstore/ | |
| cp icon.png thunderstore/ | |
| - name: Upload Thunderstore Package | |
| uses: GreenTF/upload-thunderstore-package@v4.3 | |
| with: | |
| path: thunderstore | |
| community: on-together | |
| namespace: CutiePatooties | |
| name: BetterMediaControls | |
| version: ${{ github.ref_name }} | |
| description: "A simple plugin for On-Together: Virtual Co-Working that adds custom songs and shuffle functionality to the media controls." | |
| token: ${{ secrets.THUNDERSTORE_TOKEN }} | |
| website: https://github.com/${{ github.repository }} | |
| categories: | | |
| Mods | |
| Tools | |
| Audio | |
| deps: | | |
| BepInEx-BepInExPack-5.4.2100 |