6
0

Conditional?

This commit is contained in:
Jon Michael Aanes 2023-11-09 20:50:03 +01:00
parent 05baecccc1
commit 5e789c3f01

View File

@ -50,12 +50,15 @@ jobs:
path: "${{ github.workspace }}/bin/*-win64.zip" path: "${{ github.workspace }}/bin/*-win64.zip"
if-no-files-found: error if-no-files-found: error
- name: Look around - name: Look around
run: ls -lR build run: ls -lR bin
- name: Look around 2
if: always() && github.event_name == 'release'
run: ls -lR bin
- uses: KikimoraGames/itch-publish@v0.0.3 - uses: KikimoraGames/itch-publish@v0.0.3
if: always() && github.event_name == 'release' if: always() && github.event_name == 'release'
with: with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }} butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ./build/kjam-2023.love gameData: ./bin/kjam-2023.love
itchUsername: ${{ inputs.ITCH_USERNAME }} itchUsername: ${{ inputs.ITCH_USERNAME }}
itchGameId: ${{ inputs.ITCH_GAME_ID }} itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: ${{ matrix.channel }} buildChannel: ${{ matrix.channel }}