mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-18 06:45:38 +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:
|
env:
|
||||||
GODOT_VERSION: 4.2.2
|
GODOT_VERSION: 4.2.2
|
||||||
EXPORT_NAME: RetroDECK-Configurator
|
EXPORT_NAME: RetroDECK-Configurator
|
||||||
|
#match tag in project settings of Godot
|
||||||
TAG: v0.5
|
TAG: v0.5
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -35,6 +36,7 @@ jobs:
|
||||||
run: godot --headless -v --import
|
run: godot --headless -v --import
|
||||||
- name: Linux Build 🔧
|
- name: Linux Build 🔧
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
# --export-release has to match the export template in Godot project
|
||||||
run: |
|
run: |
|
||||||
godot --headless -v --export-release "Linux/X11 64-bit" ~/$EXPORT_NAME.pck
|
godot --headless -v --export-release "Linux/X11 64-bit" ~/$EXPORT_NAME.pck
|
||||||
- name: Give execute permission ☑️
|
- name: Give execute permission ☑️
|
||||||
|
@ -44,6 +46,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
tar zcvf ~/${EXPORT_NAME}.tar.gz ~/$EXPORT_NAME.pck
|
tar zcvf ~/${EXPORT_NAME}.tar.gz ~/$EXPORT_NAME.pck
|
||||||
|
|
||||||
|
# Create artifacts in action. Optional item
|
||||||
- name: Upload Linux x86_64 Artifact 🚀
|
- name: Upload Linux x86_64 Artifact 🚀
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -52,13 +55,12 @@ jobs:
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
|
|
||||||
# Upload release linked to tag
|
# Upload release linked to tag
|
||||||
# had to explicity call folder refernece
|
# had to explicitly call folder reference
|
||||||
- name: Upload Release Asset 🚀
|
- name: Upload Release Asset 🚀
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ~/${{env.EXPORT_NAME}}-tar.gz
|
file: /github/home/RetroDECK-tar.gz-tar.gz
|
||||||
#/github/home/RetroDECK-tar.gz
|
|
||||||
tag: ${{env.TAG}}
|
tag: ${{env.TAG}}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
file_glob: true
|
file_glob: true
|
Loading…
Reference in a new issue