diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 5c1d0ba0..3cdd92ca 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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 }}