mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-27 08:05:42 +00:00
ca8dfb006c
Changes to be committed: modified: .github/workflows/build-configurator.yml
54 lines
1.6 KiB
YAML
54 lines
1.6 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@v3
|
|
- 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 }}/*
|
|
- 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
|