From d47a8a1faa8f6fe81d83b9208c903570235c2b32 Mon Sep 17 00:00:00 2001 From: Guilherme Sousa Date: Fri, 19 Jul 2024 15:32:41 +0100 Subject: [PATCH] Zip build files --- .github/workflows/publish.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a1acc3c..6d7d295 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,12 +34,13 @@ jobs: use-dotnet: false - name: Web Build run: | - mkdir -v -p build/web - godot -v --export-release "html5" --headless - # - uses: KikimoraGames/itch-publish@v0.0.3 - # with: - # butlerApiKey: ${{secrets.BUTLER_API_KEY}} - # gameData: ./build/${{ matrix.platform }} - # itchUsername: ${{env.ITCH_USERNAME}} - # itchGameId: ${{ env.ITCH_GAME_ID }} - # buildChannel: ${{ matrix.platform }} \ No newline at end of file + mkdir -p build/${{ matrix.platform }} + godot -v --export-release "${{ matrix.platform }}" --headless + zip -r build/build_${{ matrix.platform }}.zip build/${{ matrix.platform }} + - uses: KikimoraGames/itch-publish@v0.0.3 + with: + butlerApiKey: ${{secrets.BUTLER_API_KEY}} + gameData: ./build/${{ matrix.platform }} + itchUsername: ${{env.ITCH_USERNAME}} + itchGameId: ${{ env.ITCH_GAME_ID }} + buildChannel: ${{ matrix.platform }} \ No newline at end of file