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-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-08-05 16:57:40 +00:00
|
|
|
|
|
|
|
- name: Upload Linux artifact
|
|
|
|
uses: actions/upload-artifact@v4
|
2024-08-05 16:49:47 +00:00
|
|
|
with:
|
2024-08-05 16:57:40 +00:00
|
|
|
name: Godot Linux Configurator
|
|
|
|
path: /home/runner/work/linux.zip
|
2024-08-05 16:59:20 +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 }}/*
|
2024-08-05 17:32:57 +00:00
|
|
|
- name: Upload Linux Release Asset
|
|
|
|
id: upload-linux-release-asset
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
|
|
asset_path: linux.zip
|
|
|
|
asset_name: Godot_Linux.zip
|
|
|
|
asset_content_type: application/zip
|