From 810ece2f6a84f0af9d0b5eec9cbd1cfb90b9f713 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 11 May 2024 11:29:30 +0000 Subject: [PATCH] images/actions/godot/Dockerfile aktualisiert --- images/actions/godot/Dockerfile | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/images/actions/godot/Dockerfile b/images/actions/godot/Dockerfile index b848dcf..5539095 100644 --- a/images/actions/godot/Dockerfile +++ b/images/actions/godot/Dockerfile @@ -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 \