Redot Image - Export Templates
All checks were successful
Build Runner Images / base (push) Successful in 7s
Build Runner Images / extended-latest (js) (push) Successful in 19s
Build Runner Images / extended-versioned (java, 8) (push) Successful in 20s
Build Runner Images / extended-versioned (lua, 5.3) (push) Successful in 15s
Build Runner Images / extended-versioned (lua, 5.4) (push) Successful in 16s
Build Runner Images / extended-versioned (php, 8.2) (push) Successful in 21s
Build Runner Images / extended-versioned (php, 8.3) (push) Successful in 22s
Build Runner Images / extended-versioned (java, 21) (push) Successful in 1m44s
Build Runner Images / extended-versioned (java, 17) (push) Successful in 2m56s
Build Runner Images / extended-latest (go) (push) Successful in 3m35s
Build Runner Images / extended-versioned (redot, 4.3) (push) Successful in 5m0s

This commit is contained in:
Snoweuph 2025-01-29 22:57:10 +01:00
parent 67144616de
commit 9c49980663
Signed by: snoweuph
GPG key ID: BEFC41DA223CEC55

View file

@ -2,6 +2,7 @@ FROM git.euph.dev/actions/runner-basic:latest
ARG PACKAGE_VERSION ARG PACKAGE_VERSION
# fontconfig and udev are not needed in ci, and will segfault
RUN sudo apk add --no-cache \ RUN sudo apk add --no-cache \
scons \ scons \
pkgconf \ pkgconf \
@ -15,15 +16,26 @@ RUN sudo apk add --no-cache \
mesa-dev \ mesa-dev \
eudev-dev \ eudev-dev \
alsa-lib-dev \ alsa-lib-dev \
fontconfig \
pulseaudio-dev pulseaudio-dev
RUN wget $( \ RUN wget $( \
curl -s https://api.github.com/repos/Redot-Engine/redot-engine/releases/tags/redot-$PACKAGE_VERSION-stable \ curl -s https://api.github.com/repos/Redot-Engine/redot-engine/releases/tags/redot-$PACKAGE_VERSION-stable \
| grep "browser_download_url.*Redot_v.*-stable_linux.x86_64.zip" \ | grep "browser_download_url.*Redot_v.*-stable_linux\.x86_64\.zip" \
| cut -d '"' -f 4 - \ | cut -d '"' -f 4 - \
| head -n 1 \ | head -n 1 \
) -O Redot.zip \ ) -O Redot.zip \
&& sudo unzip Redot.zip \ && sudo unzip Redot.zip \
&& sudo mv ./Redot_v*-stable_linux.x86_64 /usr/local/bin/redot \ && sudo mv ./Redot_v*-stable_linux.x86_64 /usr/local/bin/redot \
&& rm Redot.zip && rm Redot.zip
RUN wget $( \
curl -s https://api.github.com/repos/Redot-Engine/redot-engine/releases/tags/redot-$PACKAGE_VERSION-stable \
| grep "browser_download_url.*Redot_v.*-stable_export_templates\.tpz" \
| cut -d '"' -f 4 - \
| head -n 1 \
) -O Redot_Export_Templates.tbz \
&& sudo unzip Redot_Export_Templates.tbz \
&& mkdir -p /home/runner/.local/share/redot/export_templates \
&& sudo mv ./templates /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable \
&& rm Redot_Export_Templates.tbz