Adetonics/.forgejo/workflows/release.yaml
Ade9 aff1d8a80f
Some checks failed
Build Game / build (Linux) (push) Failing after 6s
Build Game / build (Windows Desktop) (push) Failing after 5s
add workflow
2026-03-02 15:18:21 +02:00

33 lines
No EOL
821 B
YAML

name: Build Game
on:
workflow_dispatch:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
preset: ["Windows Desktop", "Linux"]
steps:
- uses: actions/checkout@v4
- name: Build
id: build
uses: mlm-games/godot-build-action@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: Upload builds
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.preset }}-build
path: ${{ steps.build.outputs.build }}