ci-test (working now) #2

Merged
Snoweuph merged 82 commits from ci-test into master 2023-04-05 19:20:53 +00:00
Showing only changes of commit 13e6d27bcb - Show all commits

View file

@ -17,21 +17,21 @@ jobs:
- name: Download Godot build-libs - name: Download Godot build-libs
run: | run: |
mkdir -p /root/.local/share/godot/ mkdir -p /root/.local/share/godot/
wget -nv https://downloads.tuxfamily.org/godotengine/4.0.1/Godot_v4.0.1-stable_linux.x86_64.zip -O "/root/.local/share/godot/godot.zip" wget -nv https://github.com/godotengine/godot/releases/download/4.0.2-stable/Godot_v4.0.2-stable_linux.x86_64.zip -O "/root/.local/share/godot/godot.zip"
wget -nv https://downloads.tuxfamily.org/godotengine/4.0.1/Godot_v4.0.1-stable_export_templates.tpz -O /root/.local/share/godot/godot_templates.tpz wget -nv https://github.com/godotengine/godot/releases/download/4.0.2-stable/Godot_v4.0.2-stable_export_templates.tpz -O /root/.local/share/godot/godot_templates.tpz
- name: Setup Godot build-libs - name: Setup Godot build-libs
run: | run: |
7z x /root/.local/share/godot/godot.zip -o/root/.local/share/godot/godot_executable -y 7z x /root/.local/share/godot/godot.zip -o/root/.local/share/godot/godot_executable -y
chmod +x /root/.local/share/godot/godot_executable/Godot_v4.0.1-stable_linux.x86_64 chmod +x /root/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64
unzip /root/.local/share/godot/godot_templates.tpz -d /root/.local/share/godot unzip /root/.local/share/godot/godot_templates.tpz -d /root/.local/share/godot
mv /root/.local/share/godot/templates /root/.local/share/godot/4.0.1.stable mv /root/.local/share/godot/templates /root/.local/share/godot/4.0.2.stable
mkdir -p /root/.local/share/godot/export_templates mkdir -p /root/.local/share/godot/export_templates
mv /root/.local/share/godot/4.0.1.stable /root/.local/share/godot/export_templates mv /root/.local/share/godot/4.0.2.stable /root/.local/share/godot/export_templates
/root/.local/share/godot/godot_executable/Godot_v4.0.1-stable_linux.x86_64 --version /root/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64 --version
- name: Export for Linux - name: Export for Linux
run: | run: |
mkdir -p ./builds/linux/ mkdir -p ./builds/linux/
/root/.local/share/godot/godot_executable/Godot_v4.0.1-stable_linux.x86_64 /var/lib/actions/project.godot --headless --export-release "Linux/X11" ./builds/linux/Game.x86_64 /root/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64 /var/lib/actions/project.godot --headless --export-release "Linux/X11" ./builds/linux/Game.x86_64
- name: Package for Linux - name: Package for Linux
run: | run: |
cd builds cd builds
@ -39,7 +39,7 @@ jobs:
- name: Export for Windows - name: Export for Windows
run: | run: |
mkdir -p ./builds/windows/ mkdir -p ./builds/windows/
/root/.local/share/godot/godot_executable/Godot_v4.0.1-stable_linux.x86_64 /var/lib/actions/project.godot --headless --export-release "Windows Desktop" ./builds/windows/Game.exe /root/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64 /var/lib/actions/project.godot --headless --export-release "Windows Desktop" ./builds/windows/Game.exe
- name: Package for Windows - name: Package for Windows
run: | run: |
cd builds cd builds