mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 00:55:42 +00:00
On branch feat/godot
Changes to be committed: new file: .github/workflows/build-configurator.yml modified: tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
This commit is contained in:
parent
9d526399ff
commit
4ee11f5a48
69
.github/workflows/build-configurator.yml
vendored
Normal file
69
.github/workflows/build-configurator.yml
vendored
Normal file
|
@ -0,0 +1,69 @@
|
|||
name: Release Godot Configurator
|
||||
|
||||
on:
|
||||
# push:
|
||||
# branches: [ cooker ]
|
||||
# pull_request:
|
||||
# branches: [ cooker ]
|
||||
|
||||
# manually run to help with version number/tag and sha256 value
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
GODOT_VERSION: 4.2.2
|
||||
EXPORT_NAME: RetroDECK-Configurator.x86_64
|
||||
#match tag in project settings of Godot
|
||||
TAG: RetroDECK-Configurator-v0.51
|
||||
|
||||
jobs:
|
||||
export-linux:
|
||||
name: Linux Export 🐧
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: tools/configurator
|
||||
container:
|
||||
image: docker://barichello/godot-ci:4.2.2
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Setup 💻
|
||||
run: |
|
||||
mkdir -v -p build/${EXPORT_NAME}-Linux-64bit ~/.local/share/godot/export_templates
|
||||
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
|
||||
- name: Import resources once 📦
|
||||
continue-on-error: true
|
||||
run: godot --headless -v --import
|
||||
- name: Linux Build 🔧
|
||||
continue-on-error: true
|
||||
# --export-release has to match the export template in Godot project
|
||||
run: |
|
||||
godot --headless -v --export-release "Linux/X11 64-bit" ~/$EXPORT_NAME
|
||||
- name: Give execute permission ☑️
|
||||
run: |
|
||||
chmod +x ~/$EXPORT_NAME
|
||||
- name: Create tar.gz archive 🗜️
|
||||
run: |
|
||||
tar zcvf ~/${EXPORT_NAME}.tar.gz ~/$EXPORT_NAME
|
||||
|
||||
# Create artifacts in action. Optional item
|
||||
- name: Upload Linux x86_64 Artifact 🚀
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{env.EXPORT_NAME}}
|
||||
path: ~/${{env.EXPORT_NAME}}.tar.gz
|
||||
retention-days: 14
|
||||
|
||||
# Upload release linked to tag
|
||||
# had to explicitly call folder reference
|
||||
- name: Upload Release Asset 🚀
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: /github/home/RetroDECK-*
|
||||
tag: ${{env.TAG}}
|
||||
overwrite: true
|
||||
file_glob: true
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue