upload game to itch

This commit is contained in:
Gerard Gascón 2024-04-17 21:22:22 +02:00
parent 715bef44e2
commit 3f8a63fb1b

View file

@ -40,7 +40,8 @@ jobs:
fail-fast: false # if one build fails, other platforms will still be built fail-fast: false # if one build fails, other platforms will still be built
matrix: matrix:
targetPlatform: targetPlatform:
- StandaloneWindows64 - os: StandaloneWindows64
channel: win
steps: steps:
# Checkout # Checkout
- name: Checkout repository - name: Checkout repository
@ -64,15 +65,15 @@ jobs:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with: with:
targetPlatform: ${{ matrix.targetPlatform }} targetPlatform: ${{ matrix.targetPlatform.os }}
allowDirtyBuild: true allowDirtyBuild: true
buildName: Roses-${{ matrix.targetPlatform }} buildName: Roses
# Deploy # Deploy
- uses: manleydev/butler-publish-itchio-action@master - uses: manleydev/butler-publish-itchio-action@master
env: env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }} BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: ${{ matrix.targetPlatform }} CHANNEL: ${{ matrix.targetPlatform.channel }}
ITCH_GAME: roses ITCH_GAME: roses
ITCH_USER: Geri8 ITCH_USER: Geri8
PACKAGE: build/${{ matrix.targetPlatform }} PACKAGE: build/${{ matrix.targetPlatform.os }}