add itch.io publish
Some checks failed
Build project / Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }}) (StandaloneLinux64, 6000.0.37f1) (push) Successful in 28m2s
Build project / Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }}) (StandaloneWindows64, 6000.0.37f1) (push) Successful in 21m25s
Build project / Publish to itch.io (StandaloneLinux64) (push) Failing after 7s
Build project / Publish to itch.io (StandaloneWindows64) (push) Failing after 2s
Some checks failed
Build project / Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }}) (StandaloneLinux64, 6000.0.37f1) (push) Successful in 28m2s
Build project / Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }}) (StandaloneWindows64, 6000.0.37f1) (push) Successful in 21m25s
Build project / Publish to itch.io (StandaloneLinux64) (push) Failing after 7s
Build project / Publish to itch.io (StandaloneWindows64) (push) Failing after 2s
This commit is contained in:
parent
d696986d6b
commit
6fbcccc779
@ -10,6 +10,11 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
|
|
||||||
|
env:
|
||||||
|
ITCH_USERNAME: redzuzu # Replace with your itch.io username
|
||||||
|
ITCH_GAME_ID: stellar-xipher # Replace with your itch.io game ID
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildForAllSupportedPlatforms:
|
buildForAllSupportedPlatforms:
|
||||||
name: Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }})
|
name: Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }})
|
||||||
@ -107,3 +112,23 @@ jobs:
|
|||||||
/tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip
|
/tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip
|
||||||
md5sum: true
|
md5sum: true
|
||||||
sha256sum: false
|
sha256sum: false
|
||||||
|
|
||||||
|
publishToItch:
|
||||||
|
name: Publish to itch.io
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: buildForAllSupportedPlatforms
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
targetPlatform:
|
||||||
|
- StandaloneWindows64
|
||||||
|
- StandaloneLinux64
|
||||||
|
steps:
|
||||||
|
- name: Publish to itch.io
|
||||||
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
|
with:
|
||||||
|
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
|
||||||
|
gameData: /tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip
|
||||||
|
itchUsername: ${{ env.ITCH_USERNAME }}
|
||||||
|
itchGameId: ${{ env.ITCH_GAME_ID }}
|
||||||
|
buildChannel: ${{ matrix.targetPlatform }}
|
||||||
|
buildNumber: ${{ needs.buildForAllSupportedPlatforms.outputs.tag.name }}
|
||||||
|
Loading…
Reference in New Issue
Block a user