6
0

Output vairables

This commit is contained in:
Jon Michael Aanes 2023-11-09 21:18:58 +01:00
parent 8f037cd141
commit 96beb5b283

View File

@ -51,11 +51,16 @@ jobs:
if-no-files-found: error
- name: Look around
run: ls -lR bin
- name: Finding love
id: findfiles
run: |
echo "love="$(ls bin/*.love) >> "$GITHUB_OUTPUT"
echo "win64="$(ls bin/*-win64.zip) >> "$GITHUB_OUTPUT"
- uses: KikimoraGames/itch-publish@v0.0.3
if: always() && github.event_name == 'release'
if: always()
with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ./bin/*.love
gameData: ${{ steps.findfiles.outputs.love }}
itchUsername: ${{ inputs.ITCH_USERNAME }}
itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: love-linux-win-mac
@ -63,7 +68,7 @@ jobs:
if: always() && github.event_name == 'release'
with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ./bin/*-win64.zip
gameData: ${{ steps.findfiles.outputs.win64 }}
itchUsername: ${{ inputs.ITCH_USERNAME }}
itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: win64