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:
|
2024-08-05 17:47:19 +00:00
|
|
|
- "v*"
|
2024-07-28 15:09:37 +00:00
|
|
|
pull_request:
|
2024-07-28 15:13:05 +00:00
|
|
|
branches: [feat/godot-configurator]
|
2024-08-05 17:36:51 +00:00
|
|
|
|
2024-07-28 15:09:37 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
2024-08-05 16:57:40 +00:00
|
|
|
build:
|
|
|
|
|
2024-07-28 15:09:37 +00:00
|
|
|
runs-on: ubuntu-latest
|
2024-08-05 16:57:40 +00:00
|
|
|
|
2024-07-28 15:09:37 +00:00
|
|
|
steps:
|
2024-08-05 17:32:57 +00:00
|
|
|
- uses: actions/checkout@v3
|
2024-08-05 17:44:11 +00:00
|
|
|
with:
|
|
|
|
lfs: true
|
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-08-05 18:03:38 +00:00
|
|
|
relative_export_path: ../../
|
2024-08-04 21:17:31 +00:00
|
|
|
archive_output: true
|
2024-08-05 16:57:40 +00:00
|
|
|
|
2024-08-05 18:06:12 +00:00
|
|
|
# - name: Upload Linux artifact
|
|
|
|
# uses: actions/upload-artifact@v4
|
|
|
|
# with:
|
|
|
|
# name: Godot Linux Configurator
|
|
|
|
# path: /home/runner/work/linux.zip
|
2024-08-05 18:03:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: create release
|
|
|
|
uses: ncipollo/release-action@v1.11.2
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
generateReleaseNotes: true
|
|
|
|
tag: ${{ github.ref_name }}
|
|
|
|
artifacts: ${{ steps.export.outputs.archive_directory }}/* # Added "/*" at the end is glob pattern match for this action
|