images/actions/godot/Dockerfile aktualisiert
Some checks failed
Build Runner Java / build_java (21) (push) Waiting to run
Build Runner Java / build_java (8) (push) Waiting to run
Build Runner Lua / build_lua (5.1) (push) Waiting to run
Build Runner Lua / build_lua (5.2) (push) Waiting to run
Build Runner Lua / build_lua (5.3) (push) Waiting to run
Build Runner Lua / build_lua (5.4) (push) Waiting to run
Build Runner Php / build_php (8.1) (push) Waiting to run
Build Runner Php / build_php (8.2) (push) Waiting to run
Build Runner Php / build_php (8.3) (push) Waiting to run
Build Runner Java / build_java (17) (push) Has been cancelled
Build Runner Godot / build_godot (latest) (push) Has been cancelled
Build Runner Godot / build_godot (4.2.2) (push) Has been cancelled
Build Runner csharp / build_csharp (7) (push) Has been cancelled
Build Runner csharp / build_csharp (6) (push) Has been cancelled
Build Runner Base / build_act (push) Has been cancelled

This commit is contained in:
Snoweuph 2024-05-11 11:29:30 +00:00
parent c8c1b70089
commit 810ece2f6a

View file

@ -2,20 +2,11 @@ FROM git.euph.dev/actions/runner-csharp-7:latest
ARG PACKAGE_VERSION
RUN if [[ "$PACKAGE_VERSION" != "latest" ]] ; then \
wget $( \
curl -s https://api.github.com/repos/godotengine/godot/releases/tags/$PACKAGE_VERSION-stable \
| grep "browser_download_url.*Godot_v.*-stable_mono_linux_x86_64.zip" \
| cut -d '"' -f 4 - \
| head -n 1 \
) -O Godot.zip ;\
else \
wget $( \
curl -s https://api.github.com/repos/godotengine/godot/releases/latest \
| grep "browser_download_url.*Godot_v.*-stable_mono_linux_x86_64.zip" \
| cut -d '"' -f 4 \
) -O Godot.zip ;\
fi \
RUN wget $(
curl -s https://api.github.com/repos/godotengine/godot/releases/latest \
| grep "browser_download_url.*Godot_v.*-stable_mono_linux_x86_64.zip" \
| cut -d '"' -f 4 \
) -O Godot.zip \
&& sudo unzip Godot.zip \
&& sudo mv ./Godot_v*-stable_mono_linux_x86_64/Godot_v*-stable_mono_linux.x86_64 /usr/local/bin/godot \
&& sudo mv ./Godot_v*-stable_mono_linux_x86_64/GodotSharp /usr/local/bin/GodotSharp \