diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 0333298..2ac0f6a 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -9,6 +9,9 @@ on: env: GAME_NAME: GodotExampleProject + ITCHIO_USERNAME: Minimata + ITCHIO_GAMEID: CICDTestProject + jobs: BumpTag: @@ -68,12 +71,37 @@ jobs: zip -r Mac.zip build/mac - name: Upload to release uses: akkuman/gitea-release-action@v1 - env: - NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18 with: name: Running release tag_name: ${{ needs.BumpTag.outputs.tag_name }} files: |- Windows.zip Linux.zip - Mac.zip \ No newline at end of file + Mac.zip + - name: Upload to Itch + uses: KikimoraGames/itch-publish@v0.0.3 + with: + butlerApiKey: ${{ secrets.BUTLER_TOKEN }} + itchUsername: ${{ env.ITCHIO_USERNAME }} + itchGameId: ${{ env.ITCHIO_GAMEID }} + buildNumber: ${{ needs.BumpTag.outputs.tag_name }} + gameData: Windows.zip + buildChannel: windows + - name: Upload to Itch + uses: KikimoraGames/itch-publish@v0.0.3 + with: + butlerApiKey: ${{ secrets.BUTLER_TOKEN }} + itchUsername: ${{ env.ITCHIO_USERNAME }} + itchGameId: ${{ env.ITCHIO_GAMEID }} + buildNumber: ${{ needs.BumpTag.outputs.tag_name }} + gameData: Linux.zip + buildChannel: linux + - name: Upload to Itch + uses: KikimoraGames/itch-publish@v0.0.3 + with: + butlerApiKey: ${{ secrets.BUTLER_TOKEN }} + itchUsername: ${{ env.ITCHIO_USERNAME }} + itchGameId: ${{ env.ITCHIO_GAMEID }} + buildNumber: ${{ needs.BumpTag.outputs.tag_name }} + gameData: Mac.zip + buildChannel: mac