diff --git a/.gitea/workflows/love2d.yaml b/.gitea/workflows/love2d.yaml index b3c65cf..c4b23a7 100644 --- a/.gitea/workflows/love2d.yaml +++ b/.gitea/workflows/love2d.yaml @@ -71,6 +71,12 @@ jobs: name: "${{ github.event.repository.name }}-win64.zip" path: "${{ github.workspace }}/bin/*-win64.zip" if-no-files-found: error + - name: Uploading artifacts (macos) + uses: actions/upload-artifact@v3 + with: + name: "${{ github.event.repository.name }}-macos.zip" + path: "${{ github.workspace }}/bin/*-macos.zip" + if-no-files-found: error # Determine files @@ -79,6 +85,7 @@ jobs: run: | echo "love="$(ls bin/*.love) >> "$GITHUB_OUTPUT" echo "win64="$(ls bin/*-win64.zip) >> "$GITHUB_OUTPUT" + echo "macos="$(ls bin/*-win64.zip) >> "$GITHUB_OUTPUT" # Upload to itch @@ -89,7 +96,7 @@ jobs: gameData: ${{ steps.findfiles.outputs.love }} itchUsername: ${{ inputs.ITCH_USERNAME }} itchGameId: ${{ inputs.ITCH_GAME_ID }} - buildChannel: love-linux-mac + buildChannel: love-linux - uses: KikimoraGames/itch-publish@v0.0.3 if: always() && github.event_name == 'release' && inputs.ITCH_GAME_ID @@ -100,6 +107,15 @@ jobs: itchGameId: ${{ inputs.ITCH_GAME_ID }} buildChannel: win64 + - uses: KikimoraGames/itch-publish@v0.0.3 + if: always() && github.event_name == 'release' && inputs.ITCH_GAME_ID + with: + butlerApiKey: ${{ secrets.BUTLER_API_KEY }} + gameData: ${{ steps.findfiles.outputs.macos }} + itchUsername: ${{ inputs.ITCH_USERNAME }} + itchGameId: ${{ inputs.ITCH_GAME_ID }} + buildChannel: mac + # Upload to steam - uses: game-ci/steam-deploy@v3