edit publish itchio and fix name
Some checks failed
Build project / Build for (StandaloneWindows64, 6000.0.37f1) (push) Has been cancelled
Build project / Publish itch.io (StandaloneLinux64) (push) Has been cancelled
Build project / Publish itch.io (StandaloneWindows64) (push) Has been cancelled
Build project / Build for (StandaloneLinux64, 6000.0.37f1) (push) Has been cancelled

This commit is contained in:
EthanPisani 2025-02-20 01:39:26 -05:00
parent 3628e71714
commit 4f73118700

View File

@ -17,7 +17,7 @@ env:
jobs:
buildForAllSupportedPlatforms:
name: Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }})
name: Build for
runs-on: ubuntu-latest
strategy:
fail-fast: false
@ -41,7 +41,7 @@ jobs:
- uses: actions/cache@v4
with:
path: Library
key: Library-${{ matrix.unityVersion }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}-${{ matrix.targetPlatform }}
key: Library-${{ matrix.unityVersion }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-${{ matrix.unityVersion }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
Library-
@ -113,7 +113,7 @@ jobs:
sha256sum: false
publishToItch:
name: Publish to itch.io
name: Publish itch.io
runs-on: ubuntu-latest
needs: buildForAllSupportedPlatforms
strategy:
@ -124,15 +124,13 @@ jobs:
steps:
- name: Copy build zip to current directory
run: |
ls /tmp
ls /tmp/zipped_builds
cp /tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip
- name: Publish to itch.io
uses: KikimoraGames/itch-publish@v0.0.3
with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ./build_${{ matrix.targetPlatform }}.zip
gameData: /tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip
itchUsername: ${{ env.ITCH_USERNAME }}
itchGameId: ${{ env.ITCH_GAME_ID }}
buildChannel: ${{ matrix.targetPlatform }}