ci: updated for new itch project
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 17s
Create tag and build when new code gets to main / Export (push) Successful in 2m4s

This commit is contained in:
2025-06-27 14:58:12 +02:00
parent 44477479ba
commit 4ec91c1277
2 changed files with 25 additions and 28 deletions

View File

@ -8,10 +8,9 @@ on:
- "**"
env:
GAME_NAME: GodotExampleProject
GAME_NAME: EGJ25
ITCHIO_USERNAME: Minimata
ITCHIO_GAMEID: CICDTestProject
ITCHIO_GAMEID: EGJ25
jobs:
BumpTag:
@ -30,7 +29,6 @@ jobs:
id: bump-tag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
GIT_API_TAGGING: false
WITH_V: true
PRERELEASE: false
@ -41,14 +39,14 @@ jobs:
runs-on: ubuntu-latest
needs: BumpTag
container:
image: barichello/godot-ci:mono-4.4.1
image: barichello/godot-ci:4.4.1
steps:
- name: Install node, curl and zip
run: |
apt update && apt -y install curl zip nodejs
- name: Checkout with LFS
uses: https://git.game-dev.space/minimata/checkout-lfs.git@main
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
with:
checkout-version: 3
- name: Import resources and build solution
@ -69,12 +67,11 @@ jobs:
mkdir -v -p build/mac
godot --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip
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
uses: KikimoraGames/itch-publish@v0.0.3
with:
@ -85,11 +82,6 @@ jobs:
gameData: Windows.zip
buildChannel: windows
- name: Upload Linux build
uses: actions/upload-artifact@v3
with:
name: LinuxBuild
path: Linux.zip
- name: Upload to Itch
uses: KikimoraGames/itch-publish@v0.0.3
with:
@ -100,11 +92,6 @@ jobs:
gameData: Linux.zip
buildChannel: linux
- name: Upload Mac build
uses: actions/upload-artifact@v3
with:
name: MacBuild
path: Mac.zip
- name: Upload to Itch
uses: KikimoraGames/itch-publish@v0.0.3
with:
@ -114,3 +101,13 @@ jobs:
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
gameData: Mac.zip
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

View File

@ -10,7 +10,7 @@ config_version=5
[application]
config/name="ExampleProject"
config/name="EGJ25"
run/main_scene="uid://s1cx1gvt4bed"
config/features=PackedStringArray("4.4", "Forward Plus")
config/icon="res://icon.svg"