mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-17 22:35:39 +00:00
On branch feat/godot-configurator
Changes to be committed: modified: .github/workflows/build-gdc.yml
This commit is contained in:
parent
000d3a94f7
commit
6adb6cf688
8
.github/workflows/build-gdc.yml
vendored
8
.github/workflows/build-gdc.yml
vendored
|
@ -9,6 +9,7 @@ on:
|
|||
env:
|
||||
GODOT_VERSION: 4.2.2
|
||||
EXPORT_NAME: RetroDECK-Configurator
|
||||
#match tag in project settings of Godot
|
||||
TAG: v0.5
|
||||
|
||||
jobs:
|
||||
|
@ -35,6 +36,7 @@ jobs:
|
|||
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.pck
|
||||
- name: Give execute permission ☑️
|
||||
|
@ -44,6 +46,7 @@ jobs:
|
|||
run: |
|
||||
tar zcvf ~/${EXPORT_NAME}.tar.gz ~/$EXPORT_NAME.pck
|
||||
|
||||
# Create artifacts in action. Optional item
|
||||
- name: Upload Linux x86_64 Artifact 🚀
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -52,13 +55,12 @@ jobs:
|
|||
retention-days: 14
|
||||
|
||||
# Upload release linked to tag
|
||||
# had to explicity call folder refernece
|
||||
# had to explicitly call folder reference
|
||||
- name: Upload Release Asset 🚀
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ~/${{env.EXPORT_NAME}}-tar.gz
|
||||
#/github/home/RetroDECK-tar.gz
|
||||
file: /github/home/RetroDECK-tar.gz-tar.gz
|
||||
tag: ${{env.TAG}}
|
||||
overwrite: true
|
||||
file_glob: true
|
Loading…
Reference in a new issue