6
0

WIP Publish

This commit is contained in:
Jon Michael Aanes 2023-10-25 18:03:04 +02:00
parent 3e10b92c36
commit 79d0c93ffa
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,39 @@
name: LÖVE Game - Publish
on:
workflow_call:
inputs:
ITCH_USERNAME:
required: true
ITCH_GAME_ID:
required: true
secrets:
BUTLER_API_KEY:
required: true
jobs:
Deploy:
name: Upload to Itch
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
channel: # TODO
- win64
- love
name: Deploy - Itch.io ${{ matrix.template }}
steps:
- uses: actions/download-artifact@v3
with:
name: ${{ matrix.channel }}
path: build/${{ matrix.channel }}
- uses: KikimoraGames/itch-publish@v0.0.3
with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ./build/${{ matrix.template }}
itchUsername: ${{ inputs.ITCH_USERNAME }}
itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: ${{ matrix.channel }}
buildNumber: ${{ needs.version.outputs.version_hash }} # TODO

View File

@ -1,4 +1,4 @@
name: LÖVE Game
name: LÖVE Game - Build
on:
workflow_call: