First CICD attempt
Some checks failed
Build Game / export (push) Failing after 10m11s

This commit is contained in:
Benjamin Morgan 2025-10-19 21:38:28 -06:00
parent a4452b69c4
commit 3750104100

View file

@ -0,0 +1,43 @@
name: Build Game
on:
push:
branches:
- main
tags:
- "v*.*.*" # only match version tags like v1.0.0
jobs:
export:
runs-on: docker-cli-node24
container:
image: barichello/godot-ci:4.5.1 # contains Godot headless + export templates
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Export Linux
run: godot --headless --export-release "Linux/X11" build/asteroids.x86_64
- name: Export Windows
run: godot --headless --export-release "Windows Desktop" build/asteroids.exe
- name: Export macOS
run: godot --headless --export-release "macOS" build/asteroids.zip
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: builds
path: build/*
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: actions/forgejo-release@v2.7.3
with:
direction: upload
title: ${{ github.ref_name }}
tag: ${{ github.ref_name }}
release-dir: build
release-notes-assistant: true