26 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

View File

@@ -7,38 +7,69 @@ on:
branches: [release] branches: [release]
env: env:
GODOT_VERSION: 4.3 GODOT_VERSION: 4.6.1
EXPORT_NAME: test-project EXPORT_NAME: Experements
PROJECT_PATH: test-project PROJECT_PATH: .
BLENDER_VERSION: 5.0.0
jobs: jobs:
export-windows: export-windows:
name: Windows Export name: Windows Export
runs-on: ubuntu-24.04 # Use 24.04 with godot 4 runs-on: ubuntu-24.04 # Use 24.04 with godot 4
container: barichello/godot-ci:4.3 container: barichello/godot-ci:4.6
steps: steps:
- name: Node - name: Update and install dependencies
run: | run: |
apt-get update -qq apt-get update
apt-get install -y -qq apt-get install -y curl gnupg
apt-get install -y blender
- name: Install Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v4
with: with:
lfs: true lfs: true
- name: Setup - name: Setup
shell: bash
run: | run: |
mkdir -v -p ~/.local/share/godot/export_templates/ set -Eeuo pipefail
mkdir -v -p ~/.config/ BLENDER_PATH="/usr/bin/blender"
mv /root/.config/godot ~/.config/godot mkdir -pv ~/.config/godot
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable 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 - name: Windows Build
shell: bash
run: | run: |
set -Eeuo pipefail
mkdir -v -p build/windows mkdir -v -p build/windows
EXPORT_DIR="$(readlink -f build)" EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH cd $PROJECT_PATH
godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" godot --headless --export-release "Windows" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v5 uses: actions/upload-artifact@v3
with: with:
name: windows name: windows
path: build/windows path: build/windows
@@ -46,100 +77,83 @@ jobs:
export-linux: export-linux:
name: Linux Export name: Linux Export
runs-on: ubuntu-24.04 # Use 24.04 with godot 4 runs-on: ubuntu-24.04 # Use 24.04 with godot 4
container: barichello/godot-ci:4.3 container: barichello/godot-ci:4.6
steps: steps:
- name: Node - name: Update and install dependencies
run: | run: |
apt-get update -qq apt-get update
apt-get install -y -qq 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 - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v4
with: with:
lfs: true lfs: true
- name: Setup - name: Setup
shell: bash
run: | run: |
mkdir -v -p ~/.local/share/godot/export_templates/ set -Eeuo pipefail
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable 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 - name: Linux Build
shell: bash
run: | run: |
set -Eeuo pipefail
mkdir -v -p build/linux mkdir -v -p build/linux
EXPORT_DIR="$(readlink -f build)" EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH cd $PROJECT_PATH
godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" godot --headless --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v5 uses: actions/upload-artifact@v3
with: with:
name: linux name: linux
path: build/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@v6
# 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: Node
run: |
apt-get update -qq
apt-get install -y -qq
- name: Checkout
uses: actions/checkout@v6
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
create-release: create-release:
name: Create Release name: Create Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [export-mac, export-linux, export-windows] needs: [export-linux, export-windows]
steps: 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 - name: Extract version and body from CHANGELOG
id: changelog id: changelog
run: | run: |
@@ -169,6 +183,11 @@ jobs:
echo "$BODY" >> $GITHUB_OUTPUT echo "$BODY" >> $GITHUB_OUTPUT
echo "EOF" >> $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 - name: Create Release
uses: akkuman/gitea-release-action@v1 uses: akkuman/gitea-release-action@v1
with: with:
@@ -178,3 +197,6 @@ jobs:
body: ${{ steps.changelog.outputs.body }} body: ${{ steps.changelog.outputs.body }}
draft: false draft: false
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.GITEA_TOKEN }}
files: |
windows-${{ steps.changelog.outputs.version }}.zip
linux-${{ steps.changelog.outputs.version }}.zip