Skip to content

Use godot base app for this #50

Use godot base app for this

Use godot base app for this #50

Workflow file for this run

name: Godot Build
on:
pull_request:
types:
- opened
- reopened
- synchronize
env:
GODOT_VERSION: 4.3
EXPORT_NAME: sanctify
PROJECT_PATH: sanctify
jobs:
export-linux:
name: Linux Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.3
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/export_templates/
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Linux Build
run: |
mkdir -v -p build/linux
EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH
godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: linux
path: build/linux