6
0
This commit is contained in:
Jon Michael Aanes 2023-11-09 20:28:00 +01:00
parent 5b02110fda
commit d35c191f51

View File

@ -3,8 +3,6 @@ name: LÖVE Game
on: on:
workflow_call: workflow_call:
inputs: inputs:
PUBLISH:
required: true
ITCH_USERNAME: ITCH_USERNAME:
required: false required: false
ITCH_GAME_ID: ITCH_GAME_ID:
@ -45,13 +43,12 @@ jobs:
name: "${{ github.event.repository.name }}.love" name: "${{ github.event.repository.name }}.love"
path: "${{ github.workspace }}/bin/*.love" path: "${{ github.workspace }}/bin/*.love"
if-no-files-found: error if-no-files-found: error
# TODO: Fix - name: Uploading artifacts (win64)
# - name: Uploading artifacts (win64) uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v3 with:
# with: name: "${{ github.event.repository.name }}-win64.zip"
# name: "${{ github.event.repository.name }}-win64.zip" path: "${{ github.workspace }}/bin/*-win64.zip"
# path: "${{ github.workspace }}/bin/*-win64.zip" if-no-files-found: error
# if-no-files-found: error
deploy: deploy:
name: Deploy - Itch.io name: Deploy - Itch.io
needs: [package] needs: [package]
@ -59,10 +56,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: mkdir build -p - run: mkdir build -p
# - uses: actions/download-artifact@v3
# with:
# name: kjam-2023.love
# path: ./build/kjam-2023.love
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: kjam-2023.love path: ./build
path: ./build/kjam-2023.love
- name: Look around - name: Look around
run: ls -lR build run: ls -lR build
- uses: KikimoraGames/itch-publish@v0.0.3 - uses: KikimoraGames/itch-publish@v0.0.3