2024-07-28 15:09:37 +00:00
|
|
|
|
|
|
|
name: Configurator Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-07-28 15:13:05 +00:00
|
|
|
branches: [feat/godot-configurator]
|
2024-07-28 15:09:37 +00:00
|
|
|
tags:
|
|
|
|
- "v*-test"
|
|
|
|
pull_request:
|
2024-07-28 15:13:05 +00:00
|
|
|
branches: [feat/godot-configurator]
|
2024-07-28 15:09:37 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2024-08-05 16:49:47 +00:00
|
|
|
- name: checkout
|
2024-08-04 21:08:37 +00:00
|
|
|
- uses: actions/checkout@v4
|
2024-07-28 15:09:37 +00:00
|
|
|
- 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
|
2024-07-28 15:16:06 +00:00
|
|
|
relative_project_path: ./tools/configurator
|
2024-07-28 15:46:24 +00:00
|
|
|
relative_export_path: ../../
|
2024-08-04 21:17:31 +00:00
|
|
|
archive_output: true
|
2024-08-04 20:58:21 +00:00
|
|
|
archive_root_folder: true
|
2024-08-04 21:01:04 +00:00
|
|
|
export_as_pack: true
|
2024-07-28 15:09:37 +00:00
|
|
|
|
2024-08-05 16:46:35 +00:00
|
|
|
# This release action has worked well for me. However, you can most likely use any release action of your choosing.
|
|
|
|
# https://github.com/ncipollo/release-action
|
2024-08-05 16:49:47 +00:00
|
|
|
- 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 }}/*
|