This commit is contained in:
parent
02e4652810
commit
17373930d1
1 changed files with 9 additions and 27 deletions
|
@ -30,38 +30,20 @@ jobs:
|
|||
cd /workspace/$USER/
|
||||
mkdir -v -p build/windows
|
||||
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/the_adventures_of_teddy/build/windows
|
||||
|
||||
export-linux:
|
||||
name: Linux Export
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
lfs: true
|
||||
- name: Setup
|
||||
run: |
|
||||
mkdir -v -p ~/.local/share/godot/export_templates/
|
||||
cd ~/.local/share/godot/export_templates/
|
||||
wget https://techwizz-emu.com/downloads/godot-export-templates/4.2.2.stable.tar.xz
|
||||
tar xf 4.2.2.stable.tar.xz
|
||||
wget https://github.com/godotengine/godot/releases/download/4.2.2-stable/Godot_v4.2.2-stable_linux.x86_64.zip
|
||||
unzip Godot_v4.2.2-stable_linux.x86_64.zip
|
||||
mv Godot_v4.2.2-stable_linux.x86_64 /usr/bin/godot
|
||||
godot --headless --verbose --export-release "Windows Desktop" ../build/windows/$EXPORT_NAME.exe
|
||||
- name: Linux Build
|
||||
run: |
|
||||
cd /workspace/$USER/
|
||||
mkdir -v -p build/linux
|
||||
cd $PROJECT
|
||||
godot --headless --verbose --export-release "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
|
||||
- name: Upload Artifact
|
||||
godot --headless --verbose --export-release "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
|
||||
- name: Upload Windows Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows
|
||||
path: /workspace/the_adventures_of_teddy/build/windows
|
||||
- name: Upload Linux Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: linux
|
||||
path: /workspace/the_adventures_of_teddy/build/linux
|
||||
path: /workspace/the_adventures_of_teddy/build/linux
|
Loading…
Reference in a new issue