diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 265c7e9..f4db0df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,9 @@ on: push: tags: - "v*" - +env: + ITCH_USERNAME: joglr97 + ITCH_GAME_ID: my-game-id jobs: tagged-release: name: Make Release @@ -24,3 +26,12 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false files: fruit-rush.zip + + - uses: KikimoraGames/itch-publish@v0.0.3 + with: + butlerApiKey: ${{secrets.BUTLER_API_KEY}} + gameData: ./build/${{ matrix.template }} + itchUsername: ${{env.ITCH_USERNAME}} + itchGameId: ${{ env.ITCH_GAME_ID }} + buildChannel: ${{ matrix.channel }} + buildNumber: ${{ needs.version.outputs.version_hash }}