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
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:
parent
c8c1b70089
commit
810ece2f6a
1 changed files with 5 additions and 14 deletions
|
@ -2,20 +2,11 @@ FROM git.euph.dev/actions/runner-csharp-7:latest
|
||||||
|
|
||||||
ARG PACKAGE_VERSION
|
ARG PACKAGE_VERSION
|
||||||
|
|
||||||
RUN if [[ "$PACKAGE_VERSION" != "latest" ]] ; then \
|
RUN wget $(
|
||||||
wget $( \
|
curl -s https://api.github.com/repos/godotengine/godot/releases/latest \
|
||||||
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" \
|
||||||
| grep "browser_download_url.*Godot_v.*-stable_mono_linux_x86_64.zip" \
|
| cut -d '"' -f 4 \
|
||||||
| cut -d '"' -f 4 - \
|
) -O Godot.zip \
|
||||||
| 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 \
|
|
||||||
&& sudo unzip 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/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 \
|
&& sudo mv ./Godot_v*-stable_mono_linux_x86_64/GodotSharp /usr/local/bin/GodotSharp \
|
||||||
|
|
Loading…
Reference in a new issue