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