dot dot dot
Some checks failed
godot-ci export / Windows Export (push) Failing after 0s
godot-ci export / Linux Export (push) Failing after 0s

This commit is contained in:
Aada Tikkanen 2026-03-02 15:37:38 +02:00
parent 1fc7e4dd0f
commit a82f156c3f

View file

@ -1,33 +1,50 @@
name: Build Game
name: "godot-ci export"
on:
workflow_dispatch:
push:
branches: [ main ]
env:
GODOT_VERSION: 4.6.1
EXPORT_NAME: adatonic
jobs:
build:
export-windows:
name: Windows Export
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
preset: ["Windows Desktop", "Linux"]
container:
image: docker://barichello/godot-ci:3.2.1
steps:
- uses: actions/checkout@v4
- name: Build
id: build
uses: https://github.com/mlm-games/godot-build-action
- name: Checkout
uses: actions/checkout@v1
- name: Setup
run: |
mkdir -v -p build/linux build/windows build/mac build/web ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Windows Build
run: godot -v --export "Windows Desktop" ./build/windows/$EXPORT_NAME.exe
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
EXPORT_PRESET_NAME: ${{ matrix.preset }}
GODOT_VER: "" # auto-detect latest stable 4.x
DEBUG_MODE: "false" # or "true"
GODOT_PREVIEW_BUILDS: "false" # set "true" to use preview builds
EXPORT_DIR: builds
name: windows
path: ./build/windows/
- name: Upload builds
uses: actions/upload-artifact@v4
export-linux:
name: Linux Export
runs-on: ubuntu-latest
container:
image: docker://barichello/godot-ci:3.2.1
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup
run: |
mkdir -v -p build/linux build/windows build/mac build/web ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Linux Build
run: godot -v --export "Linux" ./build/linux/$EXPORT_NAME.x86_64
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: ${{ matrix.preset }}-build
path: ${{ steps.build.outputs.build }}
name: linux
path: ./build/linux/