48 Commits

Author SHA1 Message Date
75fb76ef03 Merge pull request 'test release' (#5) from main into release
All checks were successful
Build Release / Linux Export (push) Successful in 2m8s
Build Release / Windows Export (push) Successful in 2m43s
Build Release / Create Release (push) Successful in 1m59s
Reviewed-on: #5
2026-03-18 00:06:21 +01:00
36ca9ba5ea fix
All checks were successful
Build Release / Linux Export (pull_request) Successful in 2m8s
Build Release / Windows Export (pull_request) Successful in 2m44s
Build Release / Create Release (pull_request) Successful in 1m59s
2026-03-18 00:05:41 +01:00
172fc7669b fixed some problme
Some checks failed
Build Release / Linux Export (pull_request) Successful in 2m8s
Build Release / Windows Export (pull_request) Successful in 2m43s
Build Release / Create Release (pull_request) Failing after 2m2s
2026-03-18 00:03:01 +01:00
0a92f7b461 feat: added version to zip
Some checks failed
Build Release / Linux Export (pull_request) Successful in 2m9s
Build Release / Windows Export (pull_request) Successful in 2m43s
Build Release / Create Release (pull_request) Failing after 1m55s
2026-03-17 23:58:46 +01:00
d03874f5e7 fix: zipping exports
Some checks failed
Build Release / Linux Export (pull_request) Successful in 2m9s
Build Release / Windows Export (pull_request) Successful in 2m42s
Build Release / Create Release (pull_request) Has been cancelled
2026-03-17 23:57:51 +01:00
987e4300ab chore: improved artefact upload on relaes
All checks were successful
Build Release / Linux Export (pull_request) Successful in 2m9s
Build Release / Windows Export (pull_request) Successful in 2m51s
Build Release / Create Release (pull_request) Successful in 2m2s
2026-03-17 23:52:42 +01:00
991f9f4bec chore: exporting build files
All checks were successful
Build Release / Linux Export (pull_request) Successful in 2m8s
Build Release / Windows Export (pull_request) Successful in 2m50s
Build Release / Create Release (pull_request) Successful in 1m49s
2026-03-17 23:43:04 +01:00
5c35a1beed fixed linux build
All checks were successful
Build Release / Linux Export (pull_request) Successful in 2m8s
Build Release / Windows Export (pull_request) Successful in 2m46s
Build Release / Create Release (pull_request) Successful in 1m49s
2026-03-17 23:36:44 +01:00
86274ab1bf added linux build
Some checks failed
Build Release / Linux Export (pull_request) Failing after 2m1s
Build Release / Windows Export (pull_request) Successful in 2m42s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 23:33:41 +01:00
248496db91 chore: fixed pipfall
Some checks failed
Build Release / Linux Export (pull_request) Failing after 1m44s
Build Release / Windows Export (pull_request) Successful in 2m48s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 23:30:11 +01:00
926a1e8aa0 chore: added blender to build
Some checks failed
Build Release / Linux Export (pull_request) Failing after 1m44s
Build Release / Windows Export (pull_request) Failing after 2m31s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 23:27:53 +01:00
71e37b0b55 chore: added missing blender in path
Some checks failed
Build Release / Windows Export (pull_request) Failing after 2m5s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 23:12:38 +01:00
81dca211b5 chore: added checkout 2026-03-17 22:54:31 +01:00
f16838c81c chore lovered version aing
Some checks failed
Build Release / Windows Export (pull_request) Successful in 2m14s
Build Release / Linux Export (pull_request) Successful in 2m16s
Build Release / Create Release (pull_request) Failing after 1m47s
2026-03-17 22:52:32 +01:00
0d14d27a0b chore: reduce upload artifact version, removed mac
Some checks failed
Build Release / Windows Export (pull_request) Failing after 2m14s
Build Release / Linux Export (pull_request) Failing after 2m21s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 22:50:20 +01:00
3c619c9613 fix: fixed never ending job
Some checks failed
Build Release / Windows Export (pull_request) Failing after 2m4s
Build Release / Mac Export (pull_request) Failing after 2m4s
Build Release / Linux Export (pull_request) Failing after 2m5s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 22:47:50 +01:00
fd52dc9c1c chore: fixed version of godot
Some checks failed
Build Release / Create Release (pull_request) Has been cancelled
Build Release / Windows Export (pull_request) Has been cancelled
Build Release / Linux Export (pull_request) Has been cancelled
Build Release / Mac Export (pull_request) Has been cancelled
2026-03-17 22:45:10 +01:00
40d8d8753d chore: import projekt bevor export
Some checks failed
Build Release / Create Release (pull_request) Has been cancelled
Build Release / Linux Export (pull_request) Has been cancelled
Build Release / Windows Export (pull_request) Has been cancelled
Build Release / Mac Export (pull_request) Has been cancelled
2026-03-17 22:39:39 +01:00
051c822bd5 test
Some checks failed
Build Release / Create Release (pull_request) Has been cancelled
Build Release / Linux Export (pull_request) Has been cancelled
Build Release / Mac Export (pull_request) Has been cancelled
Build Release / Windows Export (pull_request) Has been cancelled
2026-03-17 22:35:24 +01:00
3ab31fe40b test
Some checks failed
Build Release / Linux Export (pull_request) Failing after 1m47s
Build Release / Mac Export (pull_request) Failing after 1m46s
Build Release / Create Release (pull_request) Has been cancelled
Build Release / Windows Export (pull_request) Has been cancelled
2026-03-17 22:25:56 +01:00
376c1b5225 test
Some checks failed
Build Release / Mac Export (pull_request) Failing after 1m46s
Build Release / Linux Export (pull_request) Failing after 1m48s
Build Release / Windows Export (pull_request) Failing after 2m4s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 22:20:53 +01:00
03787a82fc fix: standardize runner images to use ubuntu-24.04 for all export jobs
Some checks failed
Build Release / Windows Export (pull_request) Failing after 1m47s
Build Release / Linux Export (pull_request) Failing after 2m2s
Build Release / Mac Export (pull_request) Failing after 2m3s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 22:19:46 +01:00
bc9f0b9f27 fix: downgrade actions/checkout to v4 and enable progress display for all export jobs
Some checks failed
Build Release / Windows Export (pull_request) Failing after 1m54s
Build Release / Linux Export (pull_request) Failing after 1m53s
Build Release / Mac Export (pull_request) Failing after 1m52s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 22:17:01 +01:00
1aa0dbf544 fix: update runner images to use official ubuntu-24.04-github for export jobs
Some checks failed
Build Release / Windows Export (pull_request) Failing after 2m3s
Build Release / Linux Export (pull_request) Failing after 2m2s
Build Release / Mac Export (pull_request) Failing after 2m1s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 22:10:50 +01:00
ebe34e1750 fix: remove redundant Node installation steps from export jobs in release workflow
Some checks failed
Build Release / Windows Export (pull_request) Has been cancelled
Build Release / Linux Export (pull_request) Has been cancelled
Build Release / Mac Export (pull_request) Has been cancelled
Build Release / Create Release (pull_request) Has been cancelled
2026-03-17 21:52:18 +01:00
c9743d65b7 fix: update runner images for Windows, Linux, and Mac export jobs in release workflow 2026-03-17 21:51:52 +01:00
70c407b5f9 fix: streamline Node installation steps in export jobs for all platforms
Some checks failed
Build Release / Windows Export (pull_request) Failing after 1m50s
Build Release / Linux Export (pull_request) Failing after 1m51s
Build Release / Mac Export (pull_request) Failing after 1m50s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 21:50:08 +01:00
aa6ac812cf fix: simplify container definition for export jobs in release workflow
Some checks failed
Build Release / Windows Export (pull_request) Failing after 1m46s
Build Release / Mac Export (pull_request) Failing after 1m46s
Build Release / Linux Export (pull_request) Failing after 1m47s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 21:44:29 +01:00
a34ca8af46 fix: update checkout action to v6 in export jobs
Some checks failed
Build Release / Windows Export (pull_request) Failing after 1m46s
Build Release / Linux Export (pull_request) Failing after 1m47s
Build Release / Mac Export (pull_request) Failing after 1m46s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 21:40:16 +01:00
72601467e4 fix: add nodejs and npm installation to setup steps for all export jobs
Some checks failed
Build Release / Windows Export (pull_request) Failing after 1m46s
Build Release / Linux Export (pull_request) Failing after 1m46s
Build Release / Mac Export (pull_request) Failing after 1m46s
Build Release / Create Release (pull_request) Has been skipped
2026-03-17 21:39:00 +01:00
7d9d107d65 fix: refactor release workflow to support separate export jobs for Windows, Linux, and Mac
Some checks failed
Build Release / Windows Export (pull_request) Failing after 1m51s
Build Release / Linux Export (pull_request) Failing after 1m51s
Build Release / Mac Export (pull_request) Failing after 1m52s
2026-03-17 20:53:59 +01:00
ef8e3d7d15 fix: refactor release workflow to streamline export process and update platform configuration
Some checks failed
Build Release / Export (windows) (pull_request) Failing after 2m27s
2026-03-17 20:47:01 +01:00
c287fd8404 fix: remove unnecessary build path normalization and output steps
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m37s
Build Release / build (Web) (pull_request) Failing after 2m36s
Build Release / build (Windows) (pull_request) Failing after 2m22s
2026-03-16 22:55:21 +01:00
2c3b9e458d fix: correct formatting in build output message and fix token line in release action 2026-03-16 22:54:17 +01:00
9322a8f723 fix: improve build path normalization and output logging 2026-03-16 22:52:01 +01:00
191f94892b fix: remove build path normalization step and update artifact upload parameters
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m28s
Build Release / build (Web) (pull_request) Failing after 2m33s
Build Release / build (Windows) (pull_request) Failing after 2m17s
2026-03-16 22:40:34 +01:00
7dfdd4c2c8 fix: enhance build path normalization to check for existence of build directory
Some checks failed
Build Release / build (Windows) (pull_request) Failing after 2m33s
Build Release / build (Web) (pull_request) Failing after 2m43s
Build Release / build (Linux/X11) (pull_request) Failing after 2m45s
2026-03-16 22:34:49 +01:00
fbfa81b9aa fix: update release action parameters to correctly reference changelog outputs
Some checks failed
Build Release / build (Linux/X11) (pull_request) Successful in 2m36s
Build Release / build (Web) (pull_request) Failing after 2m44s
Build Release / build (Windows) (pull_request) Failing after 2m45s
2026-03-16 22:30:32 +01:00
6370bb5b09 fix: enhance CHANGELOG extraction to include body and trim empty lines
Some checks failed
Build Release / build (Linux/X11) (pull_request) Successful in 2m40s
Build Release / build (Windows) (pull_request) Failing after 2m41s
Build Release / build (Web) (pull_request) Failing after 2m42s
2026-03-16 22:25:23 +01:00
751a3b1a17 fix: correct formatting for release action parameters in workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m27s
Build Release / build (Web) (pull_request) Failing after 2m36s
Build Release / build (Windows) (pull_request) Failing after 2m17s
2026-03-16 22:19:57 +01:00
3aa520203e fix: update release action to include formatted release name and description
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m30s
Build Release / build (Windows) (pull_request) Failing after 2m42s
Build Release / build (Linux/X11) (pull_request) Failing after 2m51s
2026-03-16 22:15:03 +01:00
4a27ae75d3 test
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m36s
Build Release / build (Linux/X11) (pull_request) Failing after 2m41s
Build Release / build (Windows) (pull_request) Failing after 2m44s
2026-03-16 22:10:04 +01:00
756281ab0b fix: update server_url reference to use vars in release workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m36s
Build Release / build (Web) (pull_request) Failing after 2m41s
Build Release / build (Windows) (pull_request) Failing after 2m42s
2026-03-16 22:07:52 +01:00
651abb6fef fix: correct artifact upload path in release workflow
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m29s
Build Release / build (Linux/X11) (pull_request) Failing after 2m34s
Build Release / build (Windows) (pull_request) Failing after 2m19s
2026-03-16 22:02:23 +01:00
6b91985c84 fix: update build action to normalize build path and use correct output for uploads
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m31s
Build Release / build (Linux/X11) (pull_request) Failing after 2m35s
Build Release / build (Windows) (pull_request) Failing after 3m6s
2026-03-16 20:44:29 +01:00
b58012bb90 fix: add EXPORT_DIR parameter to build action configuration 2026-03-16 20:40:49 +01:00
b983f41f75 fix: update build action reference to correct repository
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m58s
Build Release / build (Linux/X11) (pull_request) Failing after 3m18s
Build Release / build (Windows) (pull_request) Failing after 2m27s
2026-03-16 20:33:16 +01:00
d788285d18 test
Some checks failed
Build Release / build (Web) (pull_request) Failing after 12m36s
Build Release / build (Linux/X11) (pull_request) Failing after 16m5s
Build Release / build (Windows) (pull_request) Failing after 11m21s
2026-03-15 23:21:16 +01:00

View File

@@ -6,58 +6,197 @@ on:
pull_request:
branches: [release]
env:
GODOT_VERSION: 4.6.1
EXPORT_NAME: Experements
PROJECT_PATH: .
BLENDER_VERSION: 5.0.0
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
preset: ["Windows", "Linux/X11", "Web"]
export-windows:
name: Windows Export
runs-on: ubuntu-24.04 # Use 24.04 with godot 4
container: barichello/godot-ci:4.6
steps:
- uses: actions/checkout@v6
- name: Update and install dependencies
run: |
apt-get update
apt-get install -y curl gnupg
apt-get install -y blender
- name: Extract version from CHANGELOG
- 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
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)"
if [ -z "$GODOT_CFG" ]; then
echo "# Missing Godot editor settings" > "$GODOT_CFG"
exit 1
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
shell: bash
run: |
set -Eeuo pipefail
mkdir -v -p build/windows
EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH
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
- 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
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)"
if [ -z "$GODOT_CFG" ]; then
echo "# Missing Godot editor settings" > "$GODOT_CFG"
exit 1
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: Linux Build
shell: bash
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
runs-on: ubuntu-latest
needs: [export-linux, export-windows]
steps:
- 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: |
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
# Create Release also creates an Tag
# - name: Create git tag
# uses: alazhar/gitea-action-autotag@v1
# with:
# tag: ${{ steps.changelog.outputs.version }}
echo "Released version found: $LATEST"
echo "version=$LATEST" >> $GITHUB_OUTPUT
- name: Build
id: build
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"
BLENDER_VERSION: "5.0.0"
VERBOSE_IMPORT: "false"
# 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)
- name: Upload builds
uses: actions/upload-artifact@v5
with:
name: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }}
path: ${{ steps.build.outputs.build }}
# Trim leading/trailing empty lines
BODY=$(echo "$BODY" | sed '/^\s*$/d')
# Output body safely for GitHub Actions
echo "body<<EOF" >> $GITHUB_OUTPUT
echo "$BODY" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Zipping exports
run: |
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
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 }}
files: |
godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }}
name: "${{ steps.changelog.outputs.version }}"
body: ${{ steps.changelog.outputs.body }}
draft: false
token: ${{ secrets.GITEA_TOKEN }}
files: |
windows-${{ steps.changelog.outputs.version }}.zip
linux-${{ steps.changelog.outputs.version }}.zip