The CI should work now!
This commit is contained in:
parent
a9bf3b0cfb
commit
02e4652810
1 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue