install renpy dependencies before renpy build
Build and Deploy Ren'Py Web / deploy (push) Failing after 37s

This commit is contained in:
Dynamitos
2026-06-10 11:22:38 +02:00
parent 13085d6cfe
commit f14cc43bb2
+9 -1
View File
@@ -15,11 +15,19 @@ jobs:
env: env:
RENPY_VERSION: "8.2.1" # Ensure this matches the version you built the game with RENPY_VERSION: "8.2.1" # Ensure this matches the version you built the game with
run: | run: |
# Download and extract to the system's temporary directory to keep the workspace clean
wget https://www.renpy.org/dl/${RENPY_VERSION}/renpy-${RENPY_VERSION}-sdk.tar.bz2 wget https://www.renpy.org/dl/${RENPY_VERSION}/renpy-${RENPY_VERSION}-sdk.tar.bz2
tar -xjf renpy-${RENPY_VERSION}-sdk.tar.bz2 -C /tmp tar -xjf renpy-${RENPY_VERSION}-sdk.tar.bz2 -C /tmp
mv /tmp/renpy-${RENPY_VERSION}-sdk /tmp/renpy-sdk mv /tmp/renpy-${RENPY_VERSION}-sdk /tmp/renpy-sdk
- name: Install System Dependencies (OpenGL)
run: |
# Install OpenGL dependencies needed by the Ren'Py executable
if command -v sudo >/dev/null 2>&1; then
sudo apt-get update && sudo apt-get install -y libgl1
else
apt-get update && apt-get install -y libgl1
fi
- name: Build Web Distribution - name: Build Web Distribution
run: | run: |
# Execute the build from the /tmp directory, targeting your workspace root # Execute the build from the /tmp directory, targeting your workspace root