RetroDECK/.github/workflows/build-configurator.yml
monkeyx-net fcac2b7de2 On branch feat/godot-configurator
Changes to be committed:
	modified:   .github/workflows/build-configurator.yml
2024-08-05 19:06:12 +01:00

46 lines
1.3 KiB
YAML

name: Configurator Build
on:
push:
branches: [feat/godot-configurator]
tags:
- "v*"
pull_request:
branches: [feat/godot-configurator]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- 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
# - 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.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