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