From 075521b991d9b2c9f5116982aed8ea5c707428a3 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:02:54 +0100 Subject: [PATCH 01/61] fix: update godot-build-action to version 1.3.1 --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 6412caf..99ccf92 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -37,7 +37,7 @@ jobs: - name: Build id: build - uses: mlm-games/godot-build-action@v1 + uses: mlm-games/godot-build-action@v1.3.1 with: EXPORT_PRESET_NAME: ${{ matrix.preset }} -- 2.49.1 From ef88e5e91d787cb47e7afb701a0b214180d36812 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:06:25 +0100 Subject: [PATCH 02/61] fix: update GITHUB_TOKEN to use ACTIONS_TOKEN in release workflow --- .gitea/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 99ccf92..0061b5d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -27,7 +27,7 @@ jobs: body: | ${{ description }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} # Create Release also creates an Tag # - name: Create git tag @@ -59,3 +59,4 @@ jobs: godot-Linux/X11-v${{ steps.changelog.outputs.version }}.tar.gz godot-macOS-v${{ steps.changelog.outputs.version }}.tar.gz draft: false + token: ${{ secrets.ACTIONS_TOKEN }} -- 2.49.1 From aa4a8e9fb3ed5456aa93b5578af2e7c5e953b772 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:10:35 +0100 Subject: [PATCH 03/61] fix: update actions/checkout to version 6 and adjust token usage in release workflow --- .gitea/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 0061b5d..f597e26 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -15,7 +15,7 @@ jobs: preset: ["Windows Desktop", "Linux/X11", "macOS"] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Extract version from CHANGELOG id: changelog @@ -26,8 +26,7 @@ jobs: name: ${{ version }} body: | ${{ description }} - env: - GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} + token: ${{ secrets.ACTIONS_TOKEN }} # Create Release also creates an Tag # - name: Create git tag -- 2.49.1 From 8ae9b00b5abbd7f0a1494bc3e22efacbd3020adb Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:11:47 +0100 Subject: [PATCH 04/61] fix: update token usage in release workflow to use GITEA_TOKEN --- .gitea/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f597e26..fdcecd9 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -26,7 +26,7 @@ jobs: name: ${{ version }} body: | ${{ description }} - token: ${{ secrets.ACTIONS_TOKEN }} + token: ${{ secrets.GITEA_TOKEN }} # Create Release also creates an Tag # - name: Create git tag @@ -58,4 +58,4 @@ jobs: godot-Linux/X11-v${{ steps.changelog.outputs.version }}.tar.gz godot-macOS-v${{ steps.changelog.outputs.version }}.tar.gz draft: false - token: ${{ secrets.ACTIONS_TOKEN }} + token: ${{ secrets.GITEA_TOKEN }} -- 2.49.1 From d8f6478b18e27d58c9eab6751a73538f025a0f46 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:18:11 +0100 Subject: [PATCH 05/61] fix: set GHE_HOST environment variable in release workflow --- .gitea/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index fdcecd9..06d7993 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -17,6 +17,12 @@ jobs: steps: - uses: actions/checkout@v6 + - name: Set GHE_HOST + id: ghe_host + run: | + $ghe_host = $env:GITHUB_SERVER_URL -replace "https://", "" + echo "::set-output name=GHE_HOST::$ghe_host" + - name: Extract version from CHANGELOG id: changelog uses: release-drafter/release-drafter@v5 @@ -27,6 +33,8 @@ jobs: body: | ${{ description }} token: ${{ secrets.GITEA_TOKEN }} + env: + GHE_HOST: ${{ steps.ghe_host.outputs.GHE_HOST }} # Create Release also creates an Tag # - name: Create git tag -- 2.49.1 From 82e3ca5182405770684a58dfbe57658dcdcdac18 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:20:28 +0100 Subject: [PATCH 06/61] fix: remove GHE_HOST setup step and use SERVER_URL directly in release workflow --- .gitea/workflows/release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 06d7993..09795e3 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -17,12 +17,6 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Set GHE_HOST - id: ghe_host - run: | - $ghe_host = $env:GITHUB_SERVER_URL -replace "https://", "" - echo "::set-output name=GHE_HOST::$ghe_host" - - name: Extract version from CHANGELOG id: changelog uses: release-drafter/release-drafter@v5 @@ -34,7 +28,7 @@ jobs: ${{ description }} token: ${{ secrets.GITEA_TOKEN }} env: - GHE_HOST: ${{ steps.ghe_host.outputs.GHE_HOST }} + GHE_HOST: ${{ SERVER_URL }} # Create Release also creates an Tag # - name: Create git tag -- 2.49.1 From de51310f94f5a7a893045cf024b86bfb423deb95 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:22:35 +0100 Subject: [PATCH 07/61] fix: replace release-drafter with custom version extraction in release workflow --- .gitea/workflows/release.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 09795e3..5552b16 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -19,16 +19,11 @@ jobs: - name: Extract version from CHANGELOG id: changelog - uses: release-drafter/release-drafter@v5 - with: - changelog-file: CHANGELOG.md - template: | - name: ${{ version }} - body: | - ${{ description }} - token: ${{ secrets.GITEA_TOKEN }} - env: - GHE_HOST: ${{ SERVER_URL }} + run: | + # Extract first non-empty line that starts with a version (e.g., v1.2.3 or 1.2.3) + LATEST=$(grep -E '^[v]?[0-9]+\.[0-9]+\.[0-9]+' CHANGELOG.md | head -n1) + echo "Latest version found: $LATEST" + echo "version=$LATEST" >> $GITHUB_OUTPUT # Create Release also creates an Tag # - name: Create git tag -- 2.49.1 From 905c2d766659e6898764b2d9db236f25b9d3e0d0 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:26:29 +0100 Subject: [PATCH 08/61] fix: improve version extraction logic in release workflow --- .gitea/workflows/release.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5552b16..1437981 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -20,10 +20,14 @@ jobs: - name: Extract version from CHANGELOG id: changelog run: | - # Extract first non-empty line that starts with a version (e.g., v1.2.3 or 1.2.3) - LATEST=$(grep -E '^[v]?[0-9]+\.[0-9]+\.[0-9]+' CHANGELOG.md | head -n1) - echo "Latest version found: $LATEST" - echo "version=$LATEST" >> $GITHUB_OUTPUT + LATEST=$(grep -E '^## \[(.*)\]' CHANGELOG.md | grep -v '\[Unreleased\]' | head -n1 | sed -E 's/^## \[([^\]]+)\].*/\1/') + if [ -z "$LATEST" ]; then + echo "No released version found in CHANGELOG.md" + exit 1 + else + echo "Released version found: $LATEST" + echo "version=$LATEST" >> $GITHUB_OUTPUT + fi # Create Release also creates an Tag # - name: Create git tag -- 2.49.1 From 966951654aaa4ed6e217703b1041065a77f477cb Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:28:33 +0100 Subject: [PATCH 09/61] fix: add INSTALL_BLENDER parameter to build action in release workflow --- .gitea/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1437981..597f8b7 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -40,6 +40,7 @@ jobs: uses: mlm-games/godot-build-action@v1.3.1 with: EXPORT_PRESET_NAME: ${{ matrix.preset }} + INSTALL_BLENDER: "true" - name: Upload builds uses: actions/upload-artifact@v5 -- 2.49.1 From ba84004adcadeb97d2afaeab6a69b3ee18615f47 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:31:38 +0100 Subject: [PATCH 10/61] fix: update export presets for Web, Linux, and Windows platforms with new configurations --- export_presets.cfg | 133 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 128 insertions(+), 5 deletions(-) diff --git a/export_presets.cfg b/export_presets.cfg index b4d760d..e41ce65 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -1,16 +1,20 @@ [preset.0] -name="Godot Experiments" +name="Web" platform="Web" -runnable=true -advanced_options=false +runnable=false dedicated_server=false custom_features="" export_filter="all_resources" include_filter="" exclude_filter="" -export_path="dist/Experements.html" +export_path="" patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" encryption_include_filters="" encryption_exclude_filters="" seed=0 @@ -42,4 +46,123 @@ progressive_web_app/icon_180x180="" progressive_web_app/icon_512x512="" progressive_web_app/background_color=Color(0, 0, 0, 1) threads/emscripten_pool_size=8 -threads/godot_pool_size=4 \ No newline at end of file +threads/godot_pool_size=4 + +[preset.1] + +name="Linux/X11\"" +platform="Linux" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="" +patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=false +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_64" +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +pkill -x -f \"{temp_dir}/{exe_name} {cmd_args}\" +rm -rf \"{temp_dir}\"" + +[preset.2] + +name="Windows" +platform="Windows Desktop" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="" +patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.2.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=false +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_64" +codesign/enable=false +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PackedStringArray() +application/modify_resources=true +application/icon="" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" +application/export_angle=0 +application/export_d3d12=0 +application/d3d12_agility_sdk_multiarch=true +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}' +$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}' +$trigger = New-ScheduledTaskTrigger -Once -At 00:00 +$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries +$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings +Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true +Start-ScheduledTask -TaskName godot_remote_debug +while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 } +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue" +ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue +Remove-Item -Recurse -Force '{temp_dir}'" -- 2.49.1 From 80c905bcef4a814631b0df81ffe1c5b9bdaef5cb Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:31:44 +0100 Subject: [PATCH 11/61] fix: update export presets to use Windows, Linux, and Web platforms --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 597f8b7..3302ee8 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - preset: ["Windows Desktop", "Linux/X11", "macOS"] + preset: ["Windows", "Linux/X11", "Web"] steps: - uses: actions/checkout@v6 -- 2.49.1 From 7522d45bbd85448aa3b7d6678aaac1214c8163df Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:38:11 +0100 Subject: [PATCH 12/61] fix: add Blender support for Android and Web platforms in project configuration --- .gitea/workflows/release.yml | 8 ++++---- project.godot | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 3302ee8..7324029 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -41,12 +41,14 @@ jobs: with: EXPORT_PRESET_NAME: ${{ matrix.preset }} INSTALL_BLENDER: "true" + BLENDER_VERSION: "5.0.0" + VERBOSE_IMPORT: "false" - name: Upload builds uses: actions/upload-artifact@v5 with: name: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} - path: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }}.tar.gz + path: ${{ steps.build.outputs.build }} - name: Create Release uses: akkuman/gitea-release-action@v1 @@ -56,8 +58,6 @@ jobs: name: "Release ${{ steps.changelog.outputs.version }}" body: ${{ steps.changelog.outputs.description }} files: | - godot-Windows Desktop-v${{ steps.changelog.outputs.version }}.tar.gz - godot-Linux/X11-v${{ steps.changelog.outputs.version }}.tar.gz - godot-macOS-v${{ steps.changelog.outputs.version }}.tar.gz + godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} draft: false token: ${{ secrets.GITEA_TOKEN }} diff --git a/project.godot b/project.godot index e70e06b..a586555 100644 --- a/project.godot +++ b/project.godot @@ -24,6 +24,11 @@ config/icon="res://icon.svg" BackToMain="*res://back_to_main.gd" +[filesystem] + +import/blender/enabled.android=true +import/blender/enabled.web=true + [input] w={ -- 2.49.1 From 560b04bba20eac69a6d565bb17801a6208143bad Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 22:44:51 +0100 Subject: [PATCH 13/61] fix: update exclude_filter for Web and Linux presets to exclude .blend files --- export_presets.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/export_presets.cfg b/export_presets.cfg index e41ce65..d4b4995 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -7,7 +7,7 @@ dedicated_server=false custom_features="" export_filter="all_resources" include_filter="" -exclude_filter="" +exclude_filter="*.blend" export_path="" patches=PackedStringArray() patch_delta_encoding=false @@ -50,15 +50,15 @@ threads/godot_pool_size=4 [preset.1] -name="Linux/X11\"" +name="Linux/X11" platform="Linux" runnable=true dedicated_server=false custom_features="" export_filter="all_resources" include_filter="" -exclude_filter="" -export_path="" +exclude_filter="*.blend" +export_path="" patches=PackedStringArray() patch_delta_encoding=false patch_delta_compression_level_zstd=19 @@ -104,7 +104,7 @@ dedicated_server=false custom_features="" export_filter="all_resources" include_filter="" -exclude_filter="" +exclude_filter="*.blend" export_path="" patches=PackedStringArray() patch_delta_encoding=false -- 2.49.1 From 4a6703f79a2d72a8b50558b8d2e3da882f2da8c7 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 23:00:46 +0100 Subject: [PATCH 14/61] fix: update build action to use specific fork of godot-build-action --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7324029..fc5fc4d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -37,7 +37,7 @@ jobs: - name: Build id: build - uses: mlm-games/godot-build-action@v1.3.1 + uses: https://github.com/ArthurErlich/godot-build-action@patch-1 #mlm-games/godot-build-action@v1.3.1 with: EXPORT_PRESET_NAME: ${{ matrix.preset }} INSTALL_BLENDER: "true" -- 2.49.1 From d788285d181531c0a92e2bb7211e48980ebba376 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Sun, 15 Mar 2026 23:21:16 +0100 Subject: [PATCH 15/61] test --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index fc5fc4d..b6cc2e4 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -37,7 +37,7 @@ jobs: - name: Build id: build - uses: https://github.com/ArthurErlich/godot-build-action@patch-1 #mlm-games/godot-build-action@v1.3.1 + uses: https://github.com/ArthurErlich/godot-build-action@fix-(blender-path)-action-blender-path-configuration #mlm-games/godot-build-action@v1.3.1 with: EXPORT_PRESET_NAME: ${{ matrix.preset }} INSTALL_BLENDER: "true" -- 2.49.1 From b983f41f758bf8e7600ad7423acec8543ba2a555 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 20:33:16 +0100 Subject: [PATCH 16/61] fix: update build action reference to correct repository --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index b6cc2e4..7324029 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -37,7 +37,7 @@ jobs: - name: Build id: build - uses: https://github.com/ArthurErlich/godot-build-action@fix-(blender-path)-action-blender-path-configuration #mlm-games/godot-build-action@v1.3.1 + uses: mlm-games/godot-build-action@v1.3.1 with: EXPORT_PRESET_NAME: ${{ matrix.preset }} INSTALL_BLENDER: "true" -- 2.49.1 From b58012bb90e820260ab7a07aee4475d9b11e5336 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 20:40:49 +0100 Subject: [PATCH 17/61] fix: add EXPORT_DIR parameter to build action configuration --- .gitea/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7324029..7e18009 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -43,6 +43,8 @@ jobs: INSTALL_BLENDER: "true" BLENDER_VERSION: "5.0.0" VERBOSE_IMPORT: "false" + EXPORT_DIR: builds + - name: Upload builds uses: actions/upload-artifact@v5 -- 2.49.1 From 6b91985c84e2679a861d9d82d084b9feb752acd4 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 20:44:29 +0100 Subject: [PATCH 18/61] fix: update build action to normalize build path and use correct output for uploads --- .gitea/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7e18009..3c60134 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -43,14 +43,16 @@ jobs: INSTALL_BLENDER: "true" BLENDER_VERSION: "5.0.0" VERBOSE_IMPORT: "false" - EXPORT_DIR: builds + - name: Normalize build path + id: normalize + run: echo "path=$(realpath ${{ steps.build.outputs.build }})" >> $GITHUB_OUTPUT - name: Upload builds uses: actions/upload-artifact@v5 with: name: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} - path: ${{ steps.build.outputs.build }} + path: ${{ steps.normalize.outputs.build }} - name: Create Release uses: akkuman/gitea-release-action@v1 -- 2.49.1 From 651abb6fef31edeb08b029d53310ff26d9dd8f82 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:02:23 +0100 Subject: [PATCH 19/61] fix: correct artifact upload path in release workflow --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 3c60134..0ed1ac6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -52,7 +52,7 @@ jobs: uses: actions/upload-artifact@v5 with: name: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} - path: ${{ steps.normalize.outputs.build }} + path: ${{ steps.normalize.outputs.path }} - name: Create Release uses: akkuman/gitea-release-action@v1 -- 2.49.1 From 756281ab0bdd07e2336bc0a5a4180739d676b851 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:07:52 +0100 Subject: [PATCH 20/61] fix: update server_url reference to use vars in release workflow --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 0ed1ac6..f464dca 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -57,7 +57,7 @@ jobs: - name: Create Release uses: akkuman/gitea-release-action@v1 with: - server_url: ${{ SERVER_URL }} + server_url: ${{ vars.SERVER_URL }} tag_name: ${{ steps.changelog.outputs.version }} name: "Release ${{ steps.changelog.outputs.version }}" body: ${{ steps.changelog.outputs.description }} -- 2.49.1 From 4a27ae75d364c5de16c851b4214a3d8b1df4eb3c Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:10:04 +0100 Subject: [PATCH 21/61] test --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f464dca..63b4591 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -57,7 +57,7 @@ jobs: - name: Create Release uses: akkuman/gitea-release-action@v1 with: - server_url: ${{ vars.SERVER_URL }} + server_url: ${{ vars.SERVER_URL }} tag_name: ${{ steps.changelog.outputs.version }} name: "Release ${{ steps.changelog.outputs.version }}" body: ${{ steps.changelog.outputs.description }} -- 2.49.1 From 3aa520203e6c6b37c52e52f418213569f0638a59 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:15:03 +0100 Subject: [PATCH 22/61] fix: update release action to include formatted release name and description --- .gitea/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 63b4591..397826c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -57,11 +57,11 @@ jobs: - name: Create Release uses: akkuman/gitea-release-action@v1 with: - server_url: ${{ vars.SERVER_URL }} - tag_name: ${{ steps.changelog.outputs.version }} - name: "Release ${{ steps.changelog.outputs.version }}" + server_url: ${{ vars.SERVER_URL }} + tag_name: ${{ steps.changelog.outputs.version | replace('## ', '') | replace('[','') | replace(']','') | replace(' ', '-') }} + name: "Release ${{ steps.changelog.outputs.version | replace('## ', '') | replace('[','') | replace(']','') }}" body: ${{ steps.changelog.outputs.description }} files: | godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} - draft: false + draft: false token: ${{ secrets.GITEA_TOKEN }} -- 2.49.1 From 751a3b1a178b5f0dba670f413fc639b146723b76 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:19:57 +0100 Subject: [PATCH 23/61] fix: correct formatting for release action parameters in workflow --- .gitea/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 397826c..33dd41d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -57,11 +57,11 @@ jobs: - name: Create Release uses: akkuman/gitea-release-action@v1 with: - server_url: ${{ vars.SERVER_URL }} - tag_name: ${{ steps.changelog.outputs.version | replace('## ', '') | replace('[','') | replace(']','') | replace(' ', '-') }} - name: "Release ${{ steps.changelog.outputs.version | replace('## ', '') | replace('[','') | replace(']','') }}" - body: ${{ steps.changelog.outputs.description }} + server_url: ${{ vars.SERVER_URL }} + tag_name: "${{ steps.changelog.outputs.version }}" + name: "Release ${{ steps.changelog.outputs.version }}" + body: "${{ steps.changelog.outputs.description }}" files: | godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} - draft: false + draft: false token: ${{ secrets.GITEA_TOKEN }} -- 2.49.1 From 6370bb5b09e342854c93d16f0643d95fad6d06d1 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:25:23 +0100 Subject: [PATCH 24/61] fix: enhance CHANGELOG extraction to include body and trim empty lines --- .gitea/workflows/release.yml | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 33dd41d..1e1dbf9 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -17,18 +17,35 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Extract version from CHANGELOG + - name: Extract version and body from CHANGELOG id: changelog run: | - LATEST=$(grep -E '^## \[(.*)\]' CHANGELOG.md | grep -v '\[Unreleased\]' | head -n1 | sed -E 's/^## \[([^\]]+)\].*/\1/') + # Extract the latest released version (skip Unreleased) + LATEST=$(grep -E '^## \[[0-9]+\.[0-9]+\.[0-9]+\]' CHANGELOG.md | head -n1 | sed -E 's/^## \[([0-9]+\.[0-9]+\.[0-9]+)\].*/\1/') + if [ -z "$LATEST" ]; then echo "No released version found in CHANGELOG.md" exit 1 - else - echo "Released version found: $LATEST" - echo "version=$LATEST" >> $GITHUB_OUTPUT fi + echo "Released version found: $LATEST" + echo "version=$LATEST" >> $GITHUB_OUTPUT + + # Extract the body: lines until the next ## header + BODY=$(awk -v ver="$LATEST" ' + $0 ~ "^## \\[" ver "\\]" {found=1; next} + found && $0 ~ "^## \\[" {exit} + found {print} + ' CHANGELOG.md) + + # Trim leading/trailing empty lines + BODY=$(echo "$BODY" | sed '/^\s*$/d') + + # Output body safely for GitHub Actions + echo "body<> $GITHUB_OUTPUT + echo "$BODY" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT + # Create Release also creates an Tag # - name: Create git tag # uses: alazhar/gitea-action-autotag@v1 @@ -59,8 +76,8 @@ jobs: with: server_url: ${{ vars.SERVER_URL }} tag_name: "${{ steps.changelog.outputs.version }}" - name: "Release ${{ steps.changelog.outputs.version }}" - body: "${{ steps.changelog.outputs.description }}" + name: Release ${{ steps.changelog.outputs.version }} + body: ${{ steps.changelog.outputs.description }} files: | godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} draft: false -- 2.49.1 From fbfa81b9aaf8d4cd40d5cb3070a748f9e2bad70e Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:30:32 +0100 Subject: [PATCH 25/61] fix: update release action parameters to correctly reference changelog outputs --- .gitea/workflows/release.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1e1dbf9..b1e7348 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -74,11 +74,9 @@ jobs: - name: Create Release uses: akkuman/gitea-release-action@v1 with: - server_url: ${{ vars.SERVER_URL }} - tag_name: "${{ steps.changelog.outputs.version }}" - name: Release ${{ steps.changelog.outputs.version }} - body: ${{ steps.changelog.outputs.description }} - files: | - godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} - draft: false + server_url: ${{ vars.SERVER_URL }} + tag_name: ${{ steps.changelog.outputs.version }} + name: "${{ steps.changelog.outputs.version }}" + body: ${{ steps.changelog.outputs.body }} + draft: false token: ${{ secrets.GITEA_TOKEN }} -- 2.49.1 From 7dfdd4c2c81f2d25338d31d1cd1e9783b147978b Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:34:49 +0100 Subject: [PATCH 26/61] fix: enhance build path normalization to check for existence of build directory --- .gitea/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index b1e7348..4a28c7a 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -63,7 +63,14 @@ jobs: - name: Normalize build path id: normalize - run: echo "path=$(realpath ${{ steps.build.outputs.build }})" >> $GITHUB_OUTPUT + run: | + # Assuming your build outputs are in build// + PLATFORM_PATH="build/${{ matrix.preset }}" + if [ ! -d "$PLATFORM_PATH" ]; then + echo "Build folder not found for ${{ matrix.preset }}" + exit 1 + fi + echo "path=$PLATFORM_PATH" >> $GITHUB_OUTPUT - name: Upload builds uses: actions/upload-artifact@v5 -- 2.49.1 From 191f94892b583d5381f81d4adfb2a9aece201188 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:40:34 +0100 Subject: [PATCH 27/61] fix: remove build path normalization step and update artifact upload parameters --- .gitea/workflows/release.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 4a28c7a..8a25963 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -61,22 +61,11 @@ jobs: BLENDER_VERSION: "5.0.0" VERBOSE_IMPORT: "false" - - name: Normalize build path - id: normalize - run: | - # Assuming your build outputs are in build// - PLATFORM_PATH="build/${{ matrix.preset }}" - if [ ! -d "$PLATFORM_PATH" ]; then - echo "Build folder not found for ${{ matrix.preset }}" - exit 1 - fi - echo "path=$PLATFORM_PATH" >> $GITHUB_OUTPUT - - name: Upload builds uses: actions/upload-artifact@v5 with: - name: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }} - path: ${{ steps.normalize.outputs.path }} + name: ${{ matrix.preset }}-build + path: ${{ steps.build.outputs.build }} - name: Create Release uses: akkuman/gitea-release-action@v1 -- 2.49.1 From 9322a8f7237d3aa2afe3de20bf93afd00595aac7 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:52:01 +0100 Subject: [PATCH 28/61] fix: improve build path normalization and output logging --- .gitea/workflows/release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 8a25963..3a3b196 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -61,11 +61,20 @@ jobs: BLENDER_VERSION: "5.0.0" VERBOSE_IMPORT: "false" + - name: Show raw build output + run: echo "Raw build path: ${{ steps.build.outputs.build }}" + + - name: Normalize build path + run: | + NORMALIZED_PATH=$(realpath -s "${{ steps.build.outputs.build }}") + echo "Normalized build path: $NORMALIZED_PATH" + echo "BUILD_PATH=$NORMALIZED_PATH" >> $GITHUB_ENV + - name: Upload builds uses: actions/upload-artifact@v5 with: name: ${{ matrix.preset }}-build - path: ${{ steps.build.outputs.build }} + path: ${{ env.BUILD_PATH }} - name: Create Release uses: akkuman/gitea-release-action@v1 -- 2.49.1 From 2c3b9e458d14e9ea36964e2d8cd7b0d253593478 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:54:17 +0100 Subject: [PATCH 29/61] fix: correct formatting in build output message and fix token line in release action --- .gitea/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 3a3b196..ef50f33 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -62,7 +62,7 @@ jobs: VERBOSE_IMPORT: "false" - name: Show raw build output - run: echo "Raw build path: ${{ steps.build.outputs.build }}" + run: echo "Raw build path ${{ steps.build.outputs.build }}" - name: Normalize build path run: | @@ -84,4 +84,4 @@ jobs: name: "${{ steps.changelog.outputs.version }}" body: ${{ steps.changelog.outputs.body }} draft: false - token: ${{ secrets.GITEA_TOKEN }} + token: ${{ secrets.GITEA_TOKEN }}path: ${{ steps.build.outputs.build }} -- 2.49.1 From c287fd84042906e3cd573f82c0b42eaee10786b1 Mon Sep 17 00:00:00 2001 From: Haylan Date: Mon, 16 Mar 2026 22:55:21 +0100 Subject: [PATCH 30/61] fix: remove unnecessary build path normalization and output steps --- .gitea/workflows/release.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ef50f33..8a25963 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -61,20 +61,11 @@ jobs: BLENDER_VERSION: "5.0.0" VERBOSE_IMPORT: "false" - - name: Show raw build output - run: echo "Raw build path ${{ steps.build.outputs.build }}" - - - name: Normalize build path - run: | - NORMALIZED_PATH=$(realpath -s "${{ steps.build.outputs.build }}") - echo "Normalized build path: $NORMALIZED_PATH" - echo "BUILD_PATH=$NORMALIZED_PATH" >> $GITHUB_ENV - - name: Upload builds uses: actions/upload-artifact@v5 with: name: ${{ matrix.preset }}-build - path: ${{ env.BUILD_PATH }} + path: ${{ steps.build.outputs.build }} - name: Create Release uses: akkuman/gitea-release-action@v1 @@ -84,4 +75,4 @@ jobs: name: "${{ steps.changelog.outputs.version }}" body: ${{ steps.changelog.outputs.body }} draft: false - token: ${{ secrets.GITEA_TOKEN }}path: ${{ steps.build.outputs.build }} + token: ${{ secrets.GITEA_TOKEN }} -- 2.49.1 From ef8e3d7d15f0a34f42a95177866e57b93deb85ed Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 20:47:01 +0100 Subject: [PATCH 31/61] fix: refactor release workflow to streamline export process and update platform configuration --- .gitea/workflows/release.yml | 88 +++++++++++++++++------------------- 1 file changed, 41 insertions(+), 47 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 8a25963..c666984 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -7,65 +7,59 @@ on: branches: [release] jobs: - build: - runs-on: ubuntu-latest + export: + name: Export (${{ matrix.platform }}) + runs-on: ubuntu-24.04 + container: + image: barichello/godot-ci:4.3 + strategy: - fail-fast: false matrix: - preset: ["Windows", "Linux/X11", "Web"] + include: + - platform: windows + export_name: "Windows" + output: "windows/Experements.exe" + + # - platform: linux + # export_name: "Linux/X11" + # output: "linux/Experements.x86_64" + + # - platform: web + # export_name: "Web" + # output: "web/index.html" + + # - platform: mac + # export_name: "macOS" + # output: "mac/Experements.zip" steps: - - uses: actions/checkout@v6 + - name: Checkout + uses: actions/checkout@v6 + with: + lfs: true - - name: Extract version and body from CHANGELOG - id: changelog + - name: Setup run: | - # Extract the latest released version (skip Unreleased) - LATEST=$(grep -E '^## \[[0-9]+\.[0-9]+\.[0-9]+\]' CHANGELOG.md | head -n1 | sed -E 's/^## \[([0-9]+\.[0-9]+\.[0-9]+)\].*/\1/') - - if [ -z "$LATEST" ]; then - echo "No released version found in CHANGELOG.md" - exit 1 - fi - - echo "Released version found: $LATEST" - echo "version=$LATEST" >> $GITHUB_OUTPUT - - # Extract the body: lines until the next ## header - BODY=$(awk -v ver="$LATEST" ' - $0 ~ "^## \\[" ver "\\]" {found=1; next} - found && $0 ~ "^## \\[" {exit} - found {print} - ' CHANGELOG.md) - - # Trim leading/trailing empty lines - BODY=$(echo "$BODY" | sed '/^\s*$/d') - - # Output body safely for GitHub Actions - echo "body<> $GITHUB_OUTPUT - echo "$BODY" >> $GITHUB_OUTPUT - echo "EOF" >> $GITHUB_OUTPUT - - # Create Release also creates an Tag - # - name: Create git tag - # uses: alazhar/gitea-action-autotag@v1 - # with: - # tag: ${{ steps.changelog.outputs.version }} + mkdir -v -p ~/.local/share/godot/export_templates/ + mkdir -v -p ~/.config/ + mv /root/.config/godot ~/.config/godot + mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Build - id: build - uses: mlm-games/godot-build-action@v1.3.1 - with: - EXPORT_PRESET_NAME: ${{ matrix.preset }} - INSTALL_BLENDER: "true" - BLENDER_VERSION: "5.0.0" - VERBOSE_IMPORT: "false" + run: | + mkdir -v -p build/${{ matrix.platform }} + EXPORT_DIR="$(readlink -f build)" + cd $PROJECT_PATH + + godot --headless --verbose --export-release \ + "${{ matrix.export_name }}" \ + "$EXPORT_DIR/${{ matrix.output }}" - name: Upload builds uses: actions/upload-artifact@v5 with: - name: ${{ matrix.preset }}-build - path: ${{ steps.build.outputs.build }} + name: ${{ matrix.platform }} + path: build/${{ matrix.platform }} - name: Create Release uses: akkuman/gitea-release-action@v1 -- 2.49.1 From 7d9d107d65619d0279ac0076c31a172f732d8c38 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 20:53:59 +0100 Subject: [PATCH 32/61] fix: refactor release workflow to support separate export jobs for Windows, Linux, and Mac --- .gitea/workflows/release.yml | 133 +++++++++++++++++++++++++++-------- 1 file changed, 102 insertions(+), 31 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c666984..e9eda02 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -6,54 +6,125 @@ on: pull_request: branches: [release] +env: + GODOT_VERSION: 4.3 + EXPORT_NAME: test-project + PROJECT_PATH: test-project + jobs: - export: - name: Export (${{ matrix.platform }}) - runs-on: ubuntu-24.04 + export-windows: + name: Windows Export + runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: image: barichello/godot-ci:4.3 - - strategy: - matrix: - include: - - platform: windows - export_name: "Windows" - output: "windows/Experements.exe" - - # - platform: linux - # export_name: "Linux/X11" - # output: "linux/Experements.x86_64" - - # - platform: web - # export_name: "Web" - # output: "web/index.html" - - # - platform: mac - # export_name: "macOS" - # output: "mac/Experements.zip" - steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v4 with: lfs: true - - name: Setup run: | mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.config/ mv /root/.config/godot ~/.config/godot mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - - - name: Build + - name: Windows Build run: | - mkdir -v -p build/${{ matrix.platform }} + mkdir -v -p build/windows EXPORT_DIR="$(readlink -f build)" cd $PROJECT_PATH + godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" + - name: Upload Artifact + uses: actions/upload-artifact@v5 + with: + name: windows + path: build/windows - godot --headless --verbose --export-release \ - "${{ matrix.export_name }}" \ - "$EXPORT_DIR/${{ matrix.output }}" + export-linux: + name: Linux Export + runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + container: + image: barichello/godot-ci:4.3 + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/export_templates/ + mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable + - name: Linux Build + run: | + mkdir -v -p build/linux + EXPORT_DIR="$(readlink -f build)" + cd $PROJECT_PATH + godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" + - name: Upload Artifact + uses: actions/upload-artifact@v5 + with: + name: linux + path: build/linux + + # export-web: + # name: Web Export + # runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + # container: + # image: barichello/godot-ci:4.3 + # steps: + # - name: Checkout + # uses: actions/checkout@v4 + # with: + # lfs: true + # - name: Setup + # run: | + # mkdir -v -p ~/.local/share/godot/export_templates/ + # mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable + # - name: Web Build + # run: | + # mkdir -v -p build/web + # EXPORT_DIR="$(readlink -f build)" + # cd $PROJECT_PATH + # godot --headless --verbose --export-release "Web" "$EXPORT_DIR/web/index.html" + # - name: Upload Artifact + # uses: actions/upload-artifact@v5 + # with: + # name: web + # path: build/web + # - name: Install rsync 📚 + # run: | + # apt-get update && apt-get install -y rsync + # - name: Deploy to GitHub Pages 🚀 + # uses: JamesIves/github-pages-deploy-action@releases/v4 + # with: + # branch: gh-pages # The branch the action should deploy to. + # folder: build/web # The folder the action should deploy. + + export-mac: + name: Mac Export + runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + container: + image: barichello/godot-ci:4.3 + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/export_templates/ + mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable + - name: Mac Build + run: | + mkdir -v -p build/mac + EXPORT_DIR="$(readlink -f build)" + cd $PROJECT_PATH + godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip" + - name: Upload Artifact + uses: actions/upload-artifact@v5 + with: + name: mac + path: build/mac - name: Upload builds uses: actions/upload-artifact@v5 -- 2.49.1 From 72601467e4b2281aa3b173119e3b86e982de0828 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 21:39:00 +0100 Subject: [PATCH 33/61] fix: add nodejs and npm installation to setup steps for all export jobs --- .gitea/workflows/release.yml | 44 ++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index e9eda02..87d9d5d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -24,6 +24,8 @@ jobs: lfs: true - name: Setup run: | + apt-get update + apt-get install -y nodejs npm mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.config/ mv /root/.config/godot ~/.config/godot @@ -52,6 +54,8 @@ jobs: lfs: true - name: Setup run: | + apt-get update + apt-get install -y nodejs npm mkdir -v -p ~/.local/share/godot/export_templates/ mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Linux Build @@ -112,6 +116,8 @@ jobs: lfs: true - name: Setup run: | + apt-get update + apt-get install -y nodejs npm mkdir -v -p ~/.local/share/godot/export_templates/ mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Mac Build @@ -126,11 +132,39 @@ jobs: name: mac path: build/mac - - name: Upload builds - uses: actions/upload-artifact@v5 - with: - name: ${{ matrix.platform }} - path: build/${{ matrix.platform }} + create-release: + name: Create Release + runs-on: ubuntu-latest + needs: [export-mac, export-linux, export-windows] + steps: + - name: Extract version and body from CHANGELOG + id: changelog + run: | + # Extract the latest released version (skip Unreleased) + LATEST=$(grep -E '^## \[[0-9]+\.[0-9]+\.[0-9]+\]' CHANGELOG.md | head -n1 | sed -E 's/^## \[([0-9]+\.[0-9]+\.[0-9]+)\].*/\1/') + + if [ -z "$LATEST" ]; then + echo "No released version found in CHANGELOG.md" + exit 1 + fi + + echo "Released version found: $LATEST" + echo "version=$LATEST" >> $GITHUB_OUTPUT + + # Extract the body: lines until the next ## header + BODY=$(awk -v ver="$LATEST" ' + $0 ~ "^## \\[" ver "\\]" {found=1; next} + found && $0 ~ "^## \\[" {exit} + found {print} + ' CHANGELOG.md) + + # Trim leading/trailing empty lines + BODY=$(echo "$BODY" | sed '/^\s*$/d') + + # Output body safely for GitHub Actions + echo "body<> $GITHUB_OUTPUT + echo "$BODY" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT - name: Create Release uses: akkuman/gitea-release-action@v1 -- 2.49.1 From a34ca8af468e8c300f0dea2ebd61330732e5c203 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 21:40:16 +0100 Subject: [PATCH 34/61] fix: update checkout action to v6 in export jobs --- .gitea/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 87d9d5d..720876e 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -19,7 +19,7 @@ jobs: image: barichello/godot-ci:4.3 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: lfs: true - name: Setup @@ -49,7 +49,7 @@ jobs: image: barichello/godot-ci:4.3 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: lfs: true - name: Setup @@ -77,7 +77,7 @@ jobs: # image: barichello/godot-ci:4.3 # steps: # - name: Checkout - # uses: actions/checkout@v4 + # uses: actions/checkout@v6 # with: # lfs: true # - name: Setup @@ -111,7 +111,7 @@ jobs: image: barichello/godot-ci:4.3 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: lfs: true - name: Setup -- 2.49.1 From aa6ac812cf9341117d51459b18dc9476ed86fc09 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 21:44:29 +0100 Subject: [PATCH 35/61] fix: simplify container definition for export jobs in release workflow --- .gitea/workflows/release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 720876e..b4333d4 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -15,8 +15,7 @@ jobs: export-windows: name: Windows Export runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - container: - image: barichello/godot-ci:4.3 + container: barichello/godot-ci:4.3 steps: - name: Checkout uses: actions/checkout@v6 @@ -45,8 +44,7 @@ jobs: export-linux: name: Linux Export runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - container: - image: barichello/godot-ci:4.3 + container: barichello/godot-ci:4.3 steps: - name: Checkout uses: actions/checkout@v6 @@ -107,8 +105,7 @@ jobs: export-mac: name: Mac Export runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - container: - image: barichello/godot-ci:4.3 + container: barichello/godot-ci:4.3 steps: - name: Checkout uses: actions/checkout@v6 -- 2.49.1 From 70c407b5f90f28eae6686646c7f8c3b0d5871bcb Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 21:50:08 +0100 Subject: [PATCH 36/61] fix: streamline Node installation steps in export jobs for all platforms --- .gitea/workflows/release.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index b4333d4..465a849 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -17,14 +17,16 @@ jobs: runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: + - name: Node + run: | + apt-get update -qq + apt-get install -y -qq - name: Checkout uses: actions/checkout@v6 with: lfs: true - name: Setup run: | - apt-get update - apt-get install -y nodejs npm mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.config/ mv /root/.config/godot ~/.config/godot @@ -46,14 +48,16 @@ jobs: runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: + - name: Node + run: | + apt-get update -qq + apt-get install -y -qq - name: Checkout uses: actions/checkout@v6 with: lfs: true - name: Setup run: | - apt-get update - apt-get install -y nodejs npm mkdir -v -p ~/.local/share/godot/export_templates/ mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Linux Build @@ -107,14 +111,16 @@ jobs: runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: + - name: Node + run: | + apt-get update -qq + apt-get install -y -qq - name: Checkout uses: actions/checkout@v6 with: lfs: true - name: Setup run: | - apt-get update - apt-get install -y nodejs npm mkdir -v -p ~/.local/share/godot/export_templates/ mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Mac Build -- 2.49.1 From c9743d65b71b834fc7d034fbce9ebc53d1260c5b Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 21:51:52 +0100 Subject: [PATCH 37/61] fix: update runner images for Windows, Linux, and Mac export jobs in release workflow --- .gitea/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 465a849..938eedc 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -14,7 +14,7 @@ env: jobs: export-windows: name: Windows Export - runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - name: Node @@ -45,7 +45,7 @@ jobs: export-linux: name: Linux Export - runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - name: Node @@ -74,7 +74,7 @@ jobs: # export-web: # name: Web Export - # runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + # runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 # container: # image: barichello/godot-ci:4.3 # steps: @@ -108,7 +108,7 @@ jobs: export-mac: name: Mac Export - runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - name: Node -- 2.49.1 From ebe34e175014fbcf770a1ab87153cb2530d5a7b2 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 21:52:18 +0100 Subject: [PATCH 38/61] fix: remove redundant Node installation steps from export jobs in release workflow --- .gitea/workflows/release.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 938eedc..5642600 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -17,10 +17,6 @@ jobs: runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - - name: Node - run: | - apt-get update -qq - apt-get install -y -qq - name: Checkout uses: actions/checkout@v6 with: @@ -48,10 +44,6 @@ jobs: runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - - name: Node - run: | - apt-get update -qq - apt-get install -y -qq - name: Checkout uses: actions/checkout@v6 with: @@ -111,10 +103,6 @@ jobs: runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - - name: Node - run: | - apt-get update -qq - apt-get install -y -qq - name: Checkout uses: actions/checkout@v6 with: -- 2.49.1 From 1aa0dbf544252c836e3ffba24bd0295615fab099 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:10:50 +0100 Subject: [PATCH 39/61] fix: update runner images to use official ubuntu-24.04-github for export jobs --- .gitea/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5642600..d535468 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -14,7 +14,7 @@ env: jobs: export-windows: name: Windows Export - runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 + runs-on: ubuntu-24.04-github # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - name: Checkout @@ -41,7 +41,7 @@ jobs: export-linux: name: Linux Export - runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 + runs-on: ubuntu-24.04-github # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - name: Checkout @@ -66,7 +66,7 @@ jobs: # export-web: # name: Web Export - # runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 + # runs-on: ubuntu-24.04-github # Use 24.04 with godot 4 # container: # image: barichello/godot-ci:4.3 # steps: @@ -100,7 +100,7 @@ jobs: export-mac: name: Mac Export - runs-on: ghcr.io/catthehacker/ubuntu:full-24.04 # Use 24.04 with godot 4 + runs-on: ubuntu-24.04-github # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - name: Checkout -- 2.49.1 From bc9f0b9f27205c2e2946a1cb9bb8e5c35b88782d Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:17:01 +0100 Subject: [PATCH 40/61] fix: downgrade actions/checkout to v4 and enable progress display for all export jobs --- .gitea/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index d535468..822322e 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -18,8 +18,9 @@ jobs: container: barichello/godot-ci:4.3 steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v4 with: + show-progress: true lfs: true - name: Setup run: | @@ -45,8 +46,9 @@ jobs: container: barichello/godot-ci:4.3 steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v4 with: + show-progress: true lfs: true - name: Setup run: | @@ -71,7 +73,7 @@ jobs: # image: barichello/godot-ci:4.3 # steps: # - name: Checkout - # uses: actions/checkout@v6 + # uses: actions/checkout@v4 # with: # lfs: true # - name: Setup @@ -104,8 +106,9 @@ jobs: container: barichello/godot-ci:4.3 steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v4 with: + show-progress: true lfs: true - name: Setup run: | -- 2.49.1 From 03787a82fc7e55d95f0b4035d63c22eeb3e97efa Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:19:46 +0100 Subject: [PATCH 41/61] fix: standardize runner images to use ubuntu-24.04 for all export jobs --- .gitea/workflows/release.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 822322e..dcb2561 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -14,9 +14,13 @@ env: jobs: export-windows: name: Windows Export - runs-on: ubuntu-24.04-github # Use 24.04 with godot 4 + runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: + - name: Install Node.js + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + sudo apt-get install -y nodejs - name: Checkout uses: actions/checkout@v4 with: @@ -42,7 +46,7 @@ jobs: export-linux: name: Linux Export - runs-on: ubuntu-24.04-github # Use 24.04 with godot 4 + runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - name: Checkout @@ -68,7 +72,7 @@ jobs: # export-web: # name: Web Export - # runs-on: ubuntu-24.04-github # Use 24.04 with godot 4 + # runs-on: ubuntu-24.04 # Use 24.04 with godot 4 # container: # image: barichello/godot-ci:4.3 # steps: @@ -102,7 +106,7 @@ jobs: export-mac: name: Mac Export - runs-on: ubuntu-24.04-github # Use 24.04 with godot 4 + runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: - name: Checkout -- 2.49.1 From 376c1b52252a9f6dcf8652456c713c9017c62e92 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:20:53 +0100 Subject: [PATCH 42/61] test --- .gitea/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index dcb2561..bac1402 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -17,10 +17,14 @@ jobs: runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: + - name: Update and install dependencies + run: | + apt-get update + apt-get install -y curl gnupg - name: Install Node.js run: | - curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - - sudo apt-get install -y nodejs + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs - name: Checkout uses: actions/checkout@v4 with: -- 2.49.1 From 3ab31fe40b6231bc4224eb059728dd8a8989d4e7 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:25:56 +0100 Subject: [PATCH 43/61] test --- .gitea/workflows/release.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index bac1402..441bf72 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -8,8 +8,8 @@ on: env: GODOT_VERSION: 4.3 - EXPORT_NAME: test-project - PROJECT_PATH: test-project + EXPORT_NAME: Experements + PROJECT_PATH: . jobs: export-windows: @@ -34,8 +34,6 @@ jobs: run: | mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.config/ - mv /root/.config/godot ~/.config/godot - mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Windows Build run: | mkdir -v -p build/windows @@ -61,7 +59,6 @@ jobs: - name: Setup run: | mkdir -v -p ~/.local/share/godot/export_templates/ - mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Linux Build run: | mkdir -v -p build/linux @@ -121,7 +118,6 @@ jobs: - name: Setup run: | mkdir -v -p ~/.local/share/godot/export_templates/ - mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - name: Mac Build run: | mkdir -v -p build/mac -- 2.49.1 From 051c822bd56606868bac90163d51c0dd86d41284 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:35:24 +0100 Subject: [PATCH 44/61] test --- .gitea/workflows/release.yml | 53 +++++++++++------------------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 441bf72..9019d1e 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -28,7 +28,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - show-progress: true lfs: true - name: Setup run: | @@ -51,10 +50,17 @@ jobs: runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: + - name: Update and install dependencies + run: | + apt-get update + apt-get install -y curl gnupg + - name: Install Node.js + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs - name: Checkout uses: actions/checkout@v4 with: - show-progress: true lfs: true - name: Setup run: | @@ -71,49 +77,22 @@ jobs: name: linux path: build/linux - # export-web: - # name: Web Export - # runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - # container: - # image: barichello/godot-ci:4.3 - # steps: - # - name: Checkout - # uses: actions/checkout@v4 - # with: - # lfs: true - # - name: Setup - # run: | - # mkdir -v -p ~/.local/share/godot/export_templates/ - # mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable - # - name: Web Build - # run: | - # mkdir -v -p build/web - # EXPORT_DIR="$(readlink -f build)" - # cd $PROJECT_PATH - # godot --headless --verbose --export-release "Web" "$EXPORT_DIR/web/index.html" - # - name: Upload Artifact - # uses: actions/upload-artifact@v5 - # with: - # name: web - # path: build/web - # - name: Install rsync 📚 - # run: | - # apt-get update && apt-get install -y rsync - # - name: Deploy to GitHub Pages 🚀 - # uses: JamesIves/github-pages-deploy-action@releases/v4 - # with: - # branch: gh-pages # The branch the action should deploy to. - # folder: build/web # The folder the action should deploy. - export-mac: name: Mac Export runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.3 steps: + - name: Update and install dependencies + run: | + apt-get update + apt-get install -y curl gnupg + - name: Install Node.js + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs - name: Checkout uses: actions/checkout@v4 with: - show-progress: true lfs: true - name: Setup run: | -- 2.49.1 From 40d8d8753d59e3d26007a899e5b4c67339a9b42d Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:39:39 +0100 Subject: [PATCH 45/61] chore: import projekt bevor export --- .gitea/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 9019d1e..ba78f33 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -33,6 +33,7 @@ jobs: run: | mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.config/ + godot --headless --no-window --editor - name: Windows Build run: | mkdir -v -p build/windows @@ -65,6 +66,7 @@ jobs: - name: Setup run: | mkdir -v -p ~/.local/share/godot/export_templates/ + godot --headless --no-window --editor - name: Linux Build run: | mkdir -v -p build/linux @@ -97,6 +99,7 @@ jobs: - name: Setup run: | mkdir -v -p ~/.local/share/godot/export_templates/ + godot --headless --no-window --editor - name: Mac Build run: | mkdir -v -p build/mac -- 2.49.1 From fd52dc9c1c8fc664883bc54ae5a6e22a0b2053dd Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:45:10 +0100 Subject: [PATCH 46/61] chore: fixed version of godot --- .gitea/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ba78f33..7081c7a 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -7,7 +7,7 @@ on: branches: [release] env: - GODOT_VERSION: 4.3 + GODOT_VERSION: 4.6.1 EXPORT_NAME: Experements PROJECT_PATH: . @@ -15,7 +15,7 @@ jobs: export-windows: name: Windows Export runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - container: barichello/godot-ci:4.3 + container: barichello/godot-ci:4.6 steps: - name: Update and install dependencies run: | @@ -49,7 +49,7 @@ jobs: export-linux: name: Linux Export runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - container: barichello/godot-ci:4.3 + container: barichello/godot-ci:4.6 steps: - name: Update and install dependencies run: | @@ -82,7 +82,7 @@ jobs: export-mac: name: Mac Export runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - container: barichello/godot-ci:4.3 + container: barichello/godot-ci:4.6 steps: - name: Update and install dependencies run: | -- 2.49.1 From 3c619c96131c41810d26929b3899bfd8f88fb261 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:47:50 +0100 Subject: [PATCH 47/61] fix: fixed never ending job --- .gitea/workflows/release.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7081c7a..74b3dd1 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -21,19 +21,22 @@ jobs: run: | apt-get update apt-get install -y curl gnupg + - name: Install Node.js run: | curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt-get install -y nodejs + - name: Checkout uses: actions/checkout@v4 with: lfs: true + - name: Setup run: | mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.config/ - godot --headless --no-window --editor + - name: Windows Build run: | mkdir -v -p build/windows @@ -55,10 +58,12 @@ jobs: run: | apt-get update apt-get install -y curl gnupg + - name: Install Node.js run: | curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt-get install -y nodejs + - name: Checkout uses: actions/checkout@v4 with: @@ -66,13 +71,14 @@ jobs: - name: Setup run: | mkdir -v -p ~/.local/share/godot/export_templates/ - godot --headless --no-window --editor + - name: Linux Build run: | mkdir -v -p build/linux EXPORT_DIR="$(readlink -f build)" cd $PROJECT_PATH godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" + - name: Upload Artifact uses: actions/upload-artifact@v5 with: @@ -88,24 +94,28 @@ jobs: run: | apt-get update apt-get install -y curl gnupg + - name: Install Node.js run: | curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt-get install -y nodejs + - name: Checkout uses: actions/checkout@v4 with: lfs: true + - name: Setup run: | mkdir -v -p ~/.local/share/godot/export_templates/ - godot --headless --no-window --editor + - name: Mac Build run: | mkdir -v -p build/mac EXPORT_DIR="$(readlink -f build)" cd $PROJECT_PATH godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip" + - name: Upload Artifact uses: actions/upload-artifact@v5 with: -- 2.49.1 From 0d14d27a0b5213f6ed146a93815ad55f01b9f1fe Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:50:20 +0100 Subject: [PATCH 48/61] chore: reduce upload artifact version, removed mac --- .gitea/workflows/release.yml | 43 +++--------------------------------- 1 file changed, 3 insertions(+), 40 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 74b3dd1..1e039c5 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -42,9 +42,9 @@ jobs: mkdir -v -p build/windows EXPORT_DIR="$(readlink -f build)" cd $PROJECT_PATH - godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" + godot --headless --verbose --export-release "Windows" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" - name: Upload Artifact - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v4 with: name: windows path: build/windows @@ -80,48 +80,11 @@ jobs: godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" - name: Upload Artifact - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v4 with: name: linux path: build/linux - export-mac: - name: Mac Export - runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - container: barichello/godot-ci:4.6 - steps: - - name: Update and install dependencies - run: | - apt-get update - apt-get install -y curl gnupg - - - name: Install Node.js - run: | - curl -fsSL https://deb.nodesource.com/setup_20.x | bash - - apt-get install -y nodejs - - - name: Checkout - uses: actions/checkout@v4 - with: - lfs: true - - - name: Setup - run: | - mkdir -v -p ~/.local/share/godot/export_templates/ - - - name: Mac Build - run: | - mkdir -v -p build/mac - EXPORT_DIR="$(readlink -f build)" - cd $PROJECT_PATH - godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip" - - - name: Upload Artifact - uses: actions/upload-artifact@v5 - with: - name: mac - path: build/mac - create-release: name: Create Release runs-on: ubuntu-latest -- 2.49.1 From f16838c81c3882638cfe67fccb380cc344f10119 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:52:32 +0100 Subject: [PATCH 49/61] chore lovered version aing --- .gitea/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1e039c5..e9e0923 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -44,7 +44,7 @@ jobs: cd $PROJECT_PATH godot --headless --verbose --export-release "Windows" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: windows path: build/windows @@ -80,7 +80,7 @@ jobs: godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: linux path: build/linux -- 2.49.1 From 81dca211b5f293d476ff576106650b74a39b5948 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 22:54:31 +0100 Subject: [PATCH 50/61] chore: added checkout --- .gitea/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index e9e0923..b60c508 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -88,8 +88,11 @@ jobs: create-release: name: Create Release runs-on: ubuntu-latest - needs: [export-mac, export-linux, export-windows] + needs: [export-linux, export-windows] steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Extract version and body from CHANGELOG id: changelog run: | -- 2.49.1 From 71e37b0b5508ad0e568569fc0142d44ad2829abd Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:12:38 +0100 Subject: [PATCH 51/61] chore: added missing blender in path --- .gitea/workflows/release.yml | 87 +++++++++++++++++++++++------------- 1 file changed, 55 insertions(+), 32 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index b60c508..3277183 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -10,6 +10,7 @@ env: GODOT_VERSION: 4.6.1 EXPORT_NAME: Experements PROJECT_PATH: . + BLENDER_VERSION: 5.0.0 jobs: export-windows: @@ -33,57 +34,79 @@ jobs: lfs: true - name: Setup + shell: bash run: | mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.config/ + set -Eeuo pipefail + echo "Installing Blender ${{ env.BLENDER_VERSION }}..." + MAJOR_MINOR="$(echo "${{ env.BLENDER_VERSION }}" | cut -d. -f1,2)" + BLENDER_URL="https://download.blender.org/release/Blender${MAJOR_MINOR}/blender-${{ env.BLENDER_VERSION }}-linux-x64.tar.xz" + wget -q "$BLENDER_URL" -O ~/blender.tar.xz + tar -xf ~/blender.tar.xz -C ~/ + BLENDER_DIR="$(find ~ -maxdepth 1 -name "blender-*" -type d | head -n 1)" + echo "${BLENDER_DIR}" >> "$GITHUB_PATH" + echo "BLENDER_PATH=${BLENDER_DIR}/blender" >> "$GITHUB_ENV" + "${BLENDER_DIR}/blender" --version + + GODOT_CFG="$(find ~/.config/godot -name "editor_settings-*.tres" | head -n 1 || true)" + if [ -n "$GODOT_CFG" ]; then + if [ -n "${BLENDER_PATH:-}" ]; then + grep -q '^filesystem/import/blender/blender_path' "$GODOT_CFG" \ + && sed -i "s|^filesystem/import/blender/blender_path = .*|filesystem/import/blender/blender_path = \"$BLENDER_PATH\"|" "$GODOT_CFG" \ + || echo "filesystem/import/blender/blender_path = \"$BLENDER_PATH\"" >> "$GODOT_CFG" + fi + fi - name: Windows Build run: | + set -Eeuo pipefail mkdir -v -p build/windows EXPORT_DIR="$(readlink -f build)" cd $PROJECT_PATH - godot --headless --verbose --export-release "Windows" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" + godot --headless --export-release "Windows" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" - name: Upload Artifact uses: actions/upload-artifact@v3 with: name: windows path: build/windows - export-linux: - name: Linux Export - runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - container: barichello/godot-ci:4.6 - steps: - - name: Update and install dependencies - run: | - apt-get update - apt-get install -y curl gnupg + # export-linux: + # name: Linux Export + # runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + # container: barichello/godot-ci:4.6 + # steps: + # - name: Update and install dependencies + # run: | + # apt-get update + # apt-get install -y curl gnupg - - name: Install Node.js - run: | - curl -fsSL https://deb.nodesource.com/setup_20.x | bash - - apt-get install -y nodejs + # - name: Install Node.js + # run: | + # curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + # apt-get install -y nodejs - - name: Checkout - uses: actions/checkout@v4 - with: - lfs: true - - name: Setup - run: | - mkdir -v -p ~/.local/share/godot/export_templates/ + # - name: Checkout + # uses: actions/checkout@v4 + # with: + # lfs: true + # - name: Setup + # run: | + # mkdir -v -p ~/.local/share/godot/export_templates/ - - name: Linux Build - run: | - mkdir -v -p build/linux - EXPORT_DIR="$(readlink -f build)" - cd $PROJECT_PATH - godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" + # - name: Linux Build + # run: | + # set -Eeuo pipefail + # mkdir -v -p build/linux + # EXPORT_DIR="$(readlink -f build)" + # cd $PROJECT_PATH + # godot --headless --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" - - name: Upload Artifact - uses: actions/upload-artifact@v3 - with: - name: linux - path: build/linux + # - name: Upload Artifact + # uses: actions/upload-artifact@v3 + # with: + # name: linux + # path: build/linux create-release: name: Create Release -- 2.49.1 From 926a1e8aa06973dfe077841d003c430a1b9a87f9 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:27:53 +0100 Subject: [PATCH 52/61] chore: added blender to build --- .gitea/workflows/release.yml | 45 +++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 3277183..1fed7e3 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -22,6 +22,7 @@ jobs: run: | apt-get update apt-get install -y curl gnupg + apt-get install -y blender - name: Install Node.js run: | @@ -36,27 +37,29 @@ jobs: - name: Setup shell: bash run: | - mkdir -v -p ~/.local/share/godot/export_templates/ - mkdir -v -p ~/.config/ set -Eeuo pipefail - echo "Installing Blender ${{ env.BLENDER_VERSION }}..." - MAJOR_MINOR="$(echo "${{ env.BLENDER_VERSION }}" | cut -d. -f1,2)" - BLENDER_URL="https://download.blender.org/release/Blender${MAJOR_MINOR}/blender-${{ env.BLENDER_VERSION }}-linux-x64.tar.xz" - wget -q "$BLENDER_URL" -O ~/blender.tar.xz - tar -xf ~/blender.tar.xz -C ~/ - BLENDER_DIR="$(find ~ -maxdepth 1 -name "blender-*" -type d | head -n 1)" - echo "${BLENDER_DIR}" >> "$GITHUB_PATH" - echo "BLENDER_PATH=${BLENDER_DIR}/blender" >> "$GITHUB_ENV" - "${BLENDER_DIR}/blender" --version - + BLENDER_PATH="/usr/bin/blender" + mkdir -pv ~/.config/godot + mkdir -pv ~/.local/share/godot/export_templates/ GODOT_CFG="$(find ~/.config/godot -name "editor_settings-*.tres" | head -n 1 || true)" - if [ -n "$GODOT_CFG" ]; then - if [ -n "${BLENDER_PATH:-}" ]; then - grep -q '^filesystem/import/blender/blender_path' "$GODOT_CFG" \ - && sed -i "s|^filesystem/import/blender/blender_path = .*|filesystem/import/blender/blender_path = \"$BLENDER_PATH\"|" "$GODOT_CFG" \ - || echo "filesystem/import/blender/blender_path = \"$BLENDER_PATH\"" >> "$GODOT_CFG" + + if [ -z "$GODOT_CFG" ]; then + # No settings file exists → create a new one + GODOT_CFG="$HOME/.config/godot/editor_settings-4.tres" + echo "# Godot editor settings" > "$GODOT_CFG" + fi + + # Set the Blender path + if [ -n "${BLENDER_PATH:-}" ]; then + if grep -q '^filesystem/import/blender/blender_path' "$GODOT_CFG"; then + # Replace existing path + sed -i "s|^filesystem/import/blender/blender_path = .*|filesystem/import/blender/blender_path = \"$BLENDER_PATH\"|" "$GODOT_CFG" + else + # Append new path + echo "filesystem/import/blender/blender_path = \"$BLENDER_PATH\"" >> "$GODOT_CFG" fi fi + echo "Blender path configured in $GODOT_CFG" - name: Windows Build run: | @@ -71,10 +74,10 @@ jobs: name: windows path: build/windows - # export-linux: - # name: Linux Export - # runs-on: ubuntu-24.04 # Use 24.04 with godot 4 - # container: barichello/godot-ci:4.6 + export-linux: + name: Linux Export + runs-on: ubuntu-24.04 # Use 24.04 with godot 4 + container: barichello/godot-ci:4.6 # steps: # - name: Update and install dependencies # run: | -- 2.49.1 From 248496db91b74aeaaedaa2902dca2ffea1112a76 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:30:11 +0100 Subject: [PATCH 53/61] chore: fixed pipfall --- .gitea/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1fed7e3..decefe6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -44,9 +44,8 @@ jobs: GODOT_CFG="$(find ~/.config/godot -name "editor_settings-*.tres" | head -n 1 || true)" if [ -z "$GODOT_CFG" ]; then - # No settings file exists → create a new one - GODOT_CFG="$HOME/.config/godot/editor_settings-4.tres" - echo "# Godot editor settings" > "$GODOT_CFG" + echo "# Missing Godot editor settings" > "$GODOT_CFG" + exit 1 fi # Set the Blender path @@ -62,6 +61,7 @@ jobs: echo "Blender path configured in $GODOT_CFG" - name: Windows Build + shell: bash run: | set -Eeuo pipefail mkdir -v -p build/windows -- 2.49.1 From 86274ab1bf35cca1d98417acdcf1b16374b864c8 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:33:41 +0100 Subject: [PATCH 54/61] added linux build --- .gitea/workflows/release.yml | 78 +++++++++++++++++++++++------------- 1 file changed, 50 insertions(+), 28 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index decefe6..f632b21 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -78,38 +78,60 @@ jobs: name: Linux Export runs-on: ubuntu-24.04 # Use 24.04 with godot 4 container: barichello/godot-ci:4.6 - # steps: - # - name: Update and install dependencies - # run: | - # apt-get update - # apt-get install -y curl gnupg + steps: + - name: Update and install dependencies + run: | + apt-get update + apt-get install -y curl gnupg - # - name: Install Node.js - # run: | - # curl -fsSL https://deb.nodesource.com/setup_20.x | bash - - # apt-get install -y nodejs + - name: Install Node.js + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs - # - name: Checkout - # uses: actions/checkout@v4 - # with: - # lfs: true - # - name: Setup - # run: | - # mkdir -v -p ~/.local/share/godot/export_templates/ + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + - name: Setup + shell: bash + run: | + set -Eeuo pipefail + BLENDER_PATH="/usr/bin/blender" + mkdir -pv ~/.config/godot + mkdir -pv ~/.local/share/godot/export_templates/ + GODOT_CFG="$(find ~/.config/godot -name "editor_settings-*.tres" | head -n 1 || true)" - # - name: Linux Build - # run: | - # set -Eeuo pipefail - # mkdir -v -p build/linux - # EXPORT_DIR="$(readlink -f build)" - # cd $PROJECT_PATH - # godot --headless --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" + if [ -z "$GODOT_CFG" ]; then + echo "# Missing Godot editor settings" > "$GODOT_CFG" + exit 1 + fi - # - name: Upload Artifact - # uses: actions/upload-artifact@v3 - # with: - # name: linux - # path: build/linux + # Set the Blender path + if [ -n "${BLENDER_PATH:-}" ]; then + if grep -q '^filesystem/import/blender/blender_path' "$GODOT_CFG"; then + # Replace existing path + sed -i "s|^filesystem/import/blender/blender_path = .*|filesystem/import/blender/blender_path = \"$BLENDER_PATH\"|" "$GODOT_CFG" + else + # Append new path + echo "filesystem/import/blender/blender_path = \"$BLENDER_PATH\"" >> "$GODOT_CFG" + fi + fi + echo "Blender path configured in $GODOT_CFG" + + - name: Linux Build + run: | + set -Eeuo pipefail + mkdir -v -p build/linux + EXPORT_DIR="$(readlink -f build)" + cd $PROJECT_PATH + godot --headless --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: linux + path: build/linux create-release: name: Create Release -- 2.49.1 From 5c35a1beedf7896a9a4c80c97a7e0e3f78f23e54 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:36:44 +0100 Subject: [PATCH 55/61] fixed linux build --- .gitea/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f632b21..eb3d572 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -120,6 +120,7 @@ jobs: echo "Blender path configured in $GODOT_CFG" - name: Linux Build + shell: bash run: | set -Eeuo pipefail mkdir -v -p build/linux -- 2.49.1 From 991f9f4bec59bb4050512b3ad573dbea5dd3d42e Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:43:04 +0100 Subject: [PATCH 56/61] chore: exporting build files --- .gitea/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index eb3d572..48d1464 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -180,3 +180,6 @@ jobs: body: ${{ steps.changelog.outputs.body }} draft: false token: ${{ secrets.GITEA_TOKEN }} + files: | + build/linux + build/windows -- 2.49.1 From 987e4300abe702646d9bee19b581a0e4909612ca Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:52:42 +0100 Subject: [PATCH 57/61] chore: improved artefact upload on relaes --- .gitea/workflows/release.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 48d1464..a93b989 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -142,6 +142,18 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Download Windows Artifact + uses: actions/download-artifact@v3 + with: + name: windows + path: build/windows + + - name: Download Linux Artifact + uses: actions/download-artifact@v3 + with: + name: linux + path: build/linux + - name: Extract version and body from CHANGELOG id: changelog run: | @@ -181,5 +193,5 @@ jobs: draft: false token: ${{ secrets.GITEA_TOKEN }} files: | - build/linux - build/windows + build/windows/${{ env.EXPORT_NAME }}.exe + build/linux/${{ env.EXPORT_NAME }}.x86_64 -- 2.49.1 From d03874f5e708de44f45b423de67bb8f5a3fb805b Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:57:51 +0100 Subject: [PATCH 58/61] fix: zipping exports --- .gitea/workflows/release.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index a93b989..c6e4537 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -183,6 +183,16 @@ jobs: echo "$BODY" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT + - name: Zipping exports + run: | + # Zip Windows builds + cd build/windows + zip -r ../../MyGame_Windows.zip ./* + + # Zip Linux builds + cd ../../linux + zip -r ../../MyGame_Linux.zip ./* + - name: Create Release uses: akkuman/gitea-release-action@v1 with: @@ -193,5 +203,5 @@ jobs: draft: false token: ${{ secrets.GITEA_TOKEN }} files: | - build/windows/${{ env.EXPORT_NAME }}.exe - build/linux/${{ env.EXPORT_NAME }}.x86_64 + build/MyGame_Windows.zip + build/MyGame_Linux.zip -- 2.49.1 From 0a92f7b461fd9f91c8dd80f507ee4f0134eb3b3b Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 17 Mar 2026 23:58:46 +0100 Subject: [PATCH 59/61] feat: added version to zip --- .gitea/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c6e4537..460322a 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -187,11 +187,11 @@ jobs: run: | # Zip Windows builds cd build/windows - zip -r ../../MyGame_Windows.zip ./* + zip -r ../../MyGame_Windows-${{ steps.changelog.outputs.version }}.zip ./* # Zip Linux builds cd ../../linux - zip -r ../../MyGame_Linux.zip ./* + zip -r ../../MyGame_Linux-${{ steps.changelog.outputs.version }}.zip ./* - name: Create Release uses: akkuman/gitea-release-action@v1 @@ -203,5 +203,5 @@ jobs: draft: false token: ${{ secrets.GITEA_TOKEN }} files: | - build/MyGame_Windows.zip - build/MyGame_Linux.zip + build/MyGame_Windows-${{ steps.changelog.outputs.version }}.zip + build/MyGame_Linux-${{ steps.changelog.outputs.version }}.zip -- 2.49.1 From 172fc7669bf3bff1c22c9eb632de7ae93fec1438 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Wed, 18 Mar 2026 00:03:01 +0100 Subject: [PATCH 60/61] fixed some problme --- .gitea/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 460322a..5d93c02 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -187,11 +187,11 @@ jobs: run: | # Zip Windows builds cd build/windows - zip -r ../../MyGame_Windows-${{ steps.changelog.outputs.version }}.zip ./* + zip -r windows-${{ steps.changelog.outputs.version }}.zip ./* # Zip Linux builds cd ../../linux - zip -r ../../MyGame_Linux-${{ steps.changelog.outputs.version }}.zip ./* + zip -r linux-${{ steps.changelog.outputs.version }}.zip ./* - name: Create Release uses: akkuman/gitea-release-action@v1 @@ -203,5 +203,5 @@ jobs: draft: false token: ${{ secrets.GITEA_TOKEN }} files: | - build/MyGame_Windows-${{ steps.changelog.outputs.version }}.zip - build/MyGame_Linux-${{ steps.changelog.outputs.version }}.zip + build/windows-${{ steps.changelog.outputs.version }}.zip + build/linux-${{ steps.changelog.outputs.version }}.zip -- 2.49.1 From 36ca9ba5ea8edff996a7c36c46e8937f473366db Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Wed, 18 Mar 2026 00:05:41 +0100 Subject: [PATCH 61/61] fix --- .gitea/workflows/release.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5d93c02..f8bb3c6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -185,13 +185,8 @@ jobs: - name: Zipping exports run: | - # Zip Windows builds - cd build/windows - zip -r windows-${{ steps.changelog.outputs.version }}.zip ./* - - # Zip Linux builds - cd ../../linux - zip -r linux-${{ steps.changelog.outputs.version }}.zip ./* + zip -r windows-${{ steps.changelog.outputs.version }}.zip build/windows + zip -r linux-${{ steps.changelog.outputs.version }}.zip build/linux - name: Create Release uses: akkuman/gitea-release-action@v1 @@ -203,5 +198,5 @@ jobs: draft: false token: ${{ secrets.GITEA_TOKEN }} files: | - build/windows-${{ steps.changelog.outputs.version }}.zip - build/linux-${{ steps.changelog.outputs.version }}.zip + windows-${{ steps.changelog.outputs.version }}.zip + linux-${{ steps.changelog.outputs.version }}.zip -- 2.49.1