mirror of
https://github.com/moeru-ai/airi.git
synced 2026-07-10 00:08:33 +00:00
chore(ci): now publishes to itch.io
This commit is contained in:
parent
f72d3057c3
commit
fbd17e9311
2 changed files with 32 additions and 0 deletions
10
.github/workflows/release-pocket-android.yml
vendored
10
.github/workflows/release-pocket-android.yml
vendored
|
|
@ -113,3 +113,13 @@ jobs:
|
|||
files: apps/stage-pocket/android/bundle/${{ env.APK_NAME }}
|
||||
append_body: true
|
||||
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 }}
|
||||
|
|
|
|||
22
.github/workflows/release-tamagotchi.yml
vendored
22
.github/workflows/release-tamagotchi.yml
vendored
|
|
@ -462,3 +462,25 @@ jobs:
|
|||
apps/stage-tamagotchi/bundle/${{ env.PRODUCT_NAME }}-*.flatpak
|
||||
apps/stage-tamagotchi/bundle/latest-*.yml
|
||||
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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue