The CI should work now!
All checks were successful
godot-ci export / Windows Export (push) Successful in 5m12s
godot-ci export / Linux Export (push) Successful in 5m9s

This commit is contained in:
Paul Black 2024-06-09 07:44:13 +00:00
parent a9bf3b0cfb
commit 02e4652810

View file

@ -4,7 +4,8 @@ on: push
env:
GODOT_VERSION: 4.2.2
EXPORT_NAME: project_teddy
PROJECT_PATH: project_teddy
USER: the_adventures_of_teddy
PROJECT: project_teddy
jobs:
export-windows:
@ -26,15 +27,15 @@ jobs:
mv Godot_v4.2.2-stable_linux.x86_64 /usr/bin/godot
- name: Windows Build
run: |
cd /workspace/$PROJECT_PATH/
cd /workspace/$USER/
mkdir -v -p build/windows
cd $PROJECT_PATH
cd $PROJECT
godot --headless --verbose --export-release "Windows Desktop" ../build/windows/$EXPORT_NAME.exe
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: windows
path: /workspace/project_teddy/build/windows
path: /workspace/the_adventures_of_teddy/build/windows
export-linux:
name: Linux Export
@ -55,12 +56,12 @@ jobs:
mv Godot_v4.2.2-stable_linux.x86_64 /usr/bin/godot
- name: Linux Build
run: |
cd /workspace/$PROJECT_PATH/
cd /workspace/$USER/
mkdir -v -p build/linux
cd $PROJECT_PATH
cd $PROJECT
godot --headless --verbose --export-release "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: linux
path: /workspace/project_teddy/build/linux
path: /workspace/the_adventures_of_teddy/build/linux