6
0
This commit is contained in:
Jon Michael Aanes 2023-11-09 20:04:07 +01:00
parent b1b5476f2a
commit c7008fd031

View File

@ -52,27 +52,23 @@ jobs:
# 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-condition:
runs-on: ubuntu-latest
needs: [package]
if: inputs.PUBLISH
setups:
- echo "Hi!"
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [package, deploy-condition] needs: [package]
name: Deploy - Itch.io ${{ matrix.template }} name: Deploy - Itch.io
steps: steps:
- run: mkdir build -p
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
path: build/${{ matrix.channel }} name: kjam-2023.love
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
with: with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }} butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ./build/*${{ matrix.template }}*/ gameData: ./build/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 }}