WIP Publish
This commit is contained in:
parent
3e10b92c36
commit
79d0c93ffa
39
.gitea/workflows/love2d-release.yaml
Normal file
39
.gitea/workflows/love2d-release.yaml
Normal 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
|
|
@ -1,4 +1,4 @@
|
|||
name: LÖVE Game
|
||||
name: LÖVE Game - Build
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
|
Loading…
Reference in New Issue
Block a user