Files
godot_number_factory/.gitea/workflows/build.yaml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 27: did not find expected key
bionickatana 249a8d644c
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Godot auto build
2026-06-22 10:26:44 -06:00

33 lines
1.4 KiB
YAML

name: Build Godot Project (Linux)
on: [push]
jobs:
build-linux:
# Use standard Ubuntu runner environment (has Node.js for checkout & upload actions)
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Export Linux Binary via Godot Container
# This forces just THIS step to run inside the Godot container
uses: docker://barichello/godot-ci:4.3
with:
# 👇 Force the container to use bash to parse the block sequentially
entrypoint: /bin/bash
args: -c "mkdir -v -p ~/.local/share/godot/export_templates/ && ln -s /root/.local/share/godot/export_templates/* ~/.local/share/godot/export_templates/ && mkdir -v -p build/linux && godot --headless --export-release 'Linux' build/linux/godot_number_factory.x86_64"
#oldwith:
#old# We manually tell the container what commands to run
#oldargs: |
#old mkdir -v -p ~/.local/share/godot/export_templates/
#old ln -s /root/.local/share/godot/export_templates/* ~/.local/share/godot/export_templates/
#old mkdir -v -p build/linux
#old godot --headless --export-release "Linux" build/linux/godot_number_factory.x86_64
- name: Upload Linux Build Artifact
uses: actions/upload-artifact@v4
with:
name: linux-build
path: build/linux/