From 2e852f28deb29336fcb01a3732589fb57bb15a14 Mon Sep 17 00:00:00 2001 From: "Federico M. Facca" Date: Fri, 12 Apr 2024 13:38:43 +0200 Subject: [PATCH] test using gunzip --- Dockerfile | 2 +- action.yml | 2 +- entrypoint.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b2c5172..c83d8e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM ubuntu:latest ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update -RUN apt-get install -y fonts-ipafont graphviz wget openjdk-8-jre git curl unzip +RUN apt-get install -y fonts-ipafont graphviz wget openjdk-8-jre git curl gunzip imagemagick RUN wget -P / --content-disposition https://sourceforge.net/projects/plantuml/files/plantuml.jar/download COPY entrypoint.sh /entrypoint.sh diff --git a/action.yml b/action.yml index c5a4355..187bf0a 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,7 @@ inputs: enableReviewComment: description: "whether post review comment or not" required: false - default: false + default: "false" installGoogleFont: description: "Google Font family to be installed" required: false diff --git a/entrypoint.sh b/entrypoint.sh index bdc0f50..f030782 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -18,7 +18,7 @@ if [ -z "$INPUT_INSTALLGOOGLEFONT" ]; then else echo "Installing $INPUT_INSTALLGOOGLEFONT" wget -O $INPUT_INSTALLGOOGLEFONT.zip https://fonts.google.com/download?family=$INPUT_INSTALLGOOGLEFONT - unzip -d $INPUT_INSTALLGOOGLEFONT/ $INPUT_INSTALLGOOGLEFONT.zip + gunzip -d $INPUT_INSTALLGOOGLEFONT/ $INPUT_INSTALLGOOGLEFONT.zip mv $INPUT_INSTALLGOOGLEFONT /usr/share/fonts/ rm -rf $INPUT_INSTALLGOOGLEFONT.zip fc-cache -fv