ci: update with correct Itch values
This commit is contained in:
@ -8,9 +8,9 @@ on:
|
|||||||
- "**"
|
- "**"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GAME_NAME: GodotExampleProject
|
GAME_NAME: GMTK25
|
||||||
ITCHIO_USERNAME: Minimata
|
ITCHIO_USERNAME: Minimata
|
||||||
ITCHIO_GAMEID: CICDTestProject
|
ITCHIO_GAMEID: GMTK25
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -69,12 +69,11 @@ jobs:
|
|||||||
mkdir -v -p build/mac
|
mkdir -v -p build/mac
|
||||||
godot --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip
|
godot --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip
|
||||||
zip -r Mac.zip build/mac
|
zip -r Mac.zip build/mac
|
||||||
|
- name: Web Build
|
||||||
|
run: |
|
||||||
|
mkdir -v -p build/web
|
||||||
|
godot --headless --verbose --export-release "Web" build/web/index.html
|
||||||
|
|
||||||
- name: Upload Windows build
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: WindowsBuild
|
|
||||||
path: Windows.zip
|
|
||||||
- name: Upload to Itch
|
- name: Upload to Itch
|
||||||
uses: KikimoraGames/itch-publish@v0.0.3
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
with:
|
with:
|
||||||
@ -84,12 +83,6 @@ jobs:
|
|||||||
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
||||||
gameData: Windows.zip
|
gameData: Windows.zip
|
||||||
buildChannel: windows
|
buildChannel: windows
|
||||||
|
|
||||||
- name: Upload Linux build
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: LinuxBuild
|
|
||||||
path: Linux.zip
|
|
||||||
- name: Upload to Itch
|
- name: Upload to Itch
|
||||||
uses: KikimoraGames/itch-publish@v0.0.3
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
with:
|
with:
|
||||||
@ -99,12 +92,6 @@ jobs:
|
|||||||
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
||||||
gameData: Linux.zip
|
gameData: Linux.zip
|
||||||
buildChannel: linux
|
buildChannel: linux
|
||||||
|
|
||||||
- name: Upload Mac build
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: MacBuild
|
|
||||||
path: Mac.zip
|
|
||||||
- name: Upload to Itch
|
- name: Upload to Itch
|
||||||
uses: KikimoraGames/itch-publish@v0.0.3
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
with:
|
with:
|
||||||
@ -114,3 +101,12 @@ jobs:
|
|||||||
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
||||||
gameData: Mac.zip
|
gameData: Mac.zip
|
||||||
buildChannel: mac
|
buildChannel: mac
|
||||||
|
- name: Upload to Itch
|
||||||
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
|
with:
|
||||||
|
butlerApiKey: ${{ secrets.BUTLER_TOKEN }}
|
||||||
|
itchUsername: ${{ env.ITCHIO_USERNAME }}
|
||||||
|
itchGameId: ${{ env.ITCHIO_GAMEID }}
|
||||||
|
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
||||||
|
gameData: build/web
|
||||||
|
buildChannel: web
|
||||||
|
Reference in New Issue
Block a user