RetroDECK/.github/workflows/build-configurator.yml
monkeyx-net 199e0004bb On branch feat/godot-configurator
Changes to be committed:
	modified:   .github/workflows/build-configurator.yml
2024-08-05 17:59:20 +01:00

44 lines
1.3 KiB
YAML

name: Configurator Build
on:
push:
branches: [feat/godot-configurator]
tags:
- "v*-test"
pull_request:
branches: [feat/godot-configurator]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name : exportGame
uses: firebelley/godot-export@v5.2.1
with:
cache: true
godot_executable_download_url: https://download.tuxfamily.org/godotengine/4.2.2/Godot_v4.2.2-stable_linux.x86_64.zip
godot_export_templates_download_url: https://download.tuxfamily.org/godotengine/4.2.2/Godot_v4.2.2-stable_export_templates.tpz
relative_project_path: ./tools/configurator
relative_export_path: ../../
archive_output: true
archive_root_folder: true
export_as_pack: true
- name: Upload Linux artifact
uses: actions/upload-artifact@v4
with:
name: Godot Linux Configurator
path: /home/runner/work/linux.zip
- name: create release
uses: ncipollo/release-action@v1.12.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
tag: ${{ github.ref_name }}
artifacts: ${{ steps.export.outputs.archive_directory }}/*