Skip to content

Workflow file for this run

name: "godot-ci export"
on:
push:
branches:
- main
env:
GODOT_VERSION: 4.1.2
EXPORT_NAME: SmashEm
jobs:
export-windows:
name: Windows Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.1.2
steps:
- name: Checkout
uses: actions/checkout@v3
with:
lfs: true
- name: Get next version
uses: reecetech/[email protected]
id: version
with:
scheme: calver
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/export_templates
cp -a /root/.local/share/godot/templates/. ~/.local/share/godot/export_templates/
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Windows Build
run: |
mkdir -v -p build/windows
godot -v --headless --export-release "Windows Desktop" build/windows/$EXPORT_NAME.exe
pwd
ls
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: windows-${{ steps.version.outputs.version }}
path: build/windows/
if-no-files-found: error