6
0
This commit is contained in:
Jon Michael Aanes 2024-04-13 18:14:01 +02:00
parent 99dadbb807
commit a225ddd5b4
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -71,6 +71,12 @@ jobs:
name: "${{ github.event.repository.name }}-win64.zip"
path: "${{ github.workspace }}/bin/*-win64.zip"
if-no-files-found: error
- name: Uploading artifacts (macos)
uses: actions/upload-artifact@v3
with:
name: "${{ github.event.repository.name }}-macos.zip"
path: "${{ github.workspace }}/bin/*-macos.zip"
if-no-files-found: error
# Determine files
@ -79,6 +85,7 @@ jobs:
run: |
echo "love="$(ls bin/*.love) >> "$GITHUB_OUTPUT"
echo "win64="$(ls bin/*-win64.zip) >> "$GITHUB_OUTPUT"
echo "macos="$(ls bin/*-win64.zip) >> "$GITHUB_OUTPUT"
# Upload to itch
@ -89,7 +96,7 @@ jobs:
gameData: ${{ steps.findfiles.outputs.love }}
itchUsername: ${{ inputs.ITCH_USERNAME }}
itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: love-linux-mac
buildChannel: love-linux
- uses: KikimoraGames/itch-publish@v0.0.3
if: always() && github.event_name == 'release' && inputs.ITCH_GAME_ID
@ -100,6 +107,15 @@ jobs:
itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: win64
- uses: KikimoraGames/itch-publish@v0.0.3
if: always() && github.event_name == 'release' && inputs.ITCH_GAME_ID
with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ${{ steps.findfiles.outputs.macos }}
itchUsername: ${{ inputs.ITCH_USERNAME }}
itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: mac
# Upload to steam
- uses: game-ci/steam-deploy@v3