install renpy dependencies before renpy build
Build and Deploy Ren'Py Web / deploy (push) Failing after 37s
Build and Deploy Ren'Py Web / deploy (push) Failing after 37s
This commit is contained in:
@@ -15,11 +15,19 @@ jobs:
|
||||
env:
|
||||
RENPY_VERSION: "8.2.1" # Ensure this matches the version you built the game with
|
||||
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
|
||||
tar -xjf renpy-${RENPY_VERSION}-sdk.tar.bz2 -C /tmp
|
||||
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
|
||||
run: |
|
||||
# Execute the build from the /tmp directory, targeting your workspace root
|
||||
|
||||
Reference in New Issue
Block a user