chore(ci): now publishes to itch.io
This commit is contained in:
@@ -113,3 +113,13 @@ jobs:
|
|||||||
files: apps/stage-pocket/android/bundle/${{ env.APK_NAME }}
|
files: apps/stage-pocket/android/bundle/${{ env.APK_NAME }}
|
||||||
append_body: true
|
append_body: true
|
||||||
tag_name: ${{ github.event.release.tag_name || inputs.tag }}
|
tag_name: ${{ github.event.release.tag_name || inputs.tag }}
|
||||||
|
|
||||||
|
- name: Setup butler
|
||||||
|
uses: remarkablegames/setup-butler@v2
|
||||||
|
|
||||||
|
# https://itch.io/docs/butler/pushing.html
|
||||||
|
- name: Upload Android to itch.io
|
||||||
|
if: ${{ github.event_name == 'release' }}
|
||||||
|
run: butler push apps/stage-pocket/bundle/${{ env.BUNDLE_NAME }} nekomeowww/airi:android --userversion ${{ env.VERSION }}
|
||||||
|
env:
|
||||||
|
BUTLER_API_KEY: ${{ secrets.GAME_PUBLISHING_ITCHIO }}
|
||||||
|
|||||||
@@ -462,3 +462,25 @@ jobs:
|
|||||||
apps/stage-tamagotchi/bundle/${{ env.PRODUCT_NAME }}-*.flatpak
|
apps/stage-tamagotchi/bundle/${{ env.PRODUCT_NAME }}-*.flatpak
|
||||||
apps/stage-tamagotchi/bundle/latest-*.yml
|
apps/stage-tamagotchi/bundle/latest-*.yml
|
||||||
append_body: true
|
append_body: true
|
||||||
|
|
||||||
|
- name: Setup butler
|
||||||
|
uses: remarkablegames/setup-butler@v2
|
||||||
|
|
||||||
|
# https://itch.io/docs/butler/pushing.html
|
||||||
|
- name: Upload macOS (arm64) to itch.io
|
||||||
|
if: ${{ github.event_name == 'release' && matrix.os == 'macos-26' }}
|
||||||
|
run: butler push apps/stage-tamagotchi/bundle/${{ env.BUNDLE_NAME }} nekomeowww/airi:osx --userversion ${{ env.VERSION }}
|
||||||
|
env:
|
||||||
|
BUTLER_API_KEY: ${{ secrets.GAME_PUBLISHING_ITCHIO }}
|
||||||
|
|
||||||
|
- name: Upload Windows (x64) to itch.io
|
||||||
|
if: ${{ github.event_name == 'release' && matrix.os == 'windows-latest' }}
|
||||||
|
run: butler push apps/stage-tamagotchi/bundle/${{ env.BUNDLE_NAME }} nekomeowww/airi:win --userversion ${{ env.VERSION }}
|
||||||
|
env:
|
||||||
|
BUTLER_API_KEY: ${{ secrets.GAME_PUBLISHING_ITCHIO }}
|
||||||
|
|
||||||
|
- name: Upload Linux (arm64/amd64) to itch.io
|
||||||
|
if: ${{ github.event_name == 'release' && (matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm') }}
|
||||||
|
run: butler push apps/stage-tamagotchi/bundle/${{ env.BUNDLE_NAME }} nekomeowww/airi:linux --userversion ${{ env.VERSION }}
|
||||||
|
env:
|
||||||
|
BUTLER_API_KEY: ${{ secrets.GAME_PUBLISHING_ITCHIO }}
|
||||||
|
|||||||
Reference in New Issue
Block a user