test release #5

Merged
haylan merged 61 commits from main into release 2026-03-18 00:06:21 +01:00
Showing only changes of commit 86274ab1bf - Show all commits

View File

@@ -78,38 +78,60 @@ jobs:
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.6 container: barichello/godot-ci:4.6
# steps: steps:
# - name: Update and install dependencies - name: Update and install dependencies
# run: | run: |
# apt-get update apt-get update
# apt-get install -y curl gnupg apt-get install -y curl gnupg
# - name: Install Node.js - name: Install Node.js
# run: | run: |
# curl -fsSL https://deb.nodesource.com/setup_20.x | bash - curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
# apt-get install -y nodejs apt-get install -y nodejs
# - name: Checkout - name: Checkout
# uses: actions/checkout@v4 uses: actions/checkout@v4
# with: with:
# lfs: true lfs: true
# - name: Setup - name: Setup
# run: | shell: bash
# mkdir -v -p ~/.local/share/godot/export_templates/ 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 if [ -z "$GODOT_CFG" ]; then
# run: | echo "# Missing Godot editor settings" > "$GODOT_CFG"
# set -Eeuo pipefail exit 1
# mkdir -v -p build/linux fi
# EXPORT_DIR="$(readlink -f build)"
# cd $PROJECT_PATH
# godot --headless --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
# - name: Upload Artifact # Set the Blender path
# uses: actions/upload-artifact@v3 if [ -n "${BLENDER_PATH:-}" ]; then
# with: if grep -q '^filesystem/import/blender/blender_path' "$GODOT_CFG"; then
# name: linux # Replace existing path
# path: build/linux 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: create-release:
name: Create Release name: Create Release