diff --git a/Dockerfile b/Dockerfile index a9ed196..8f97e02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM archlinux RUN pacman -Syu --noconfirm texlive-most texlive-lang texlive-bibtexextra texlive-fontsextra biber -RUN mkdir -p /usr/locale/share/fonts/ -RUN curl -Lo /usr/locale/share/fonts/fira-math.otf https://github.com/firamath/firamath/releases/download/v0.3.4/FiraMath-Regular.otf +RUN mkdir -p /usr/local/share/fonts/ +RUN curl -Lo /usr/local/share/fonts/fira-math.otf https://github.com/firamath/firamath/releases/download/v0.3.4/FiraMath-Regular.otf RUN fc-cache COPY entrypoint.sh /root/ diff --git a/action.yml b/action.yml index 97a28cd..36ea83e 100644 --- a/action.yml +++ b/action.yml @@ -2,8 +2,6 @@ name: "Latexmk" description: "Run latexmk with most latex packages" author: edpibu inputs: - root_file: - description: File to compile working_directory: description: Working directory runs: @@ -11,7 +9,6 @@ runs: image: "Dockerfile" args: - ${{ inputs.working_directory }} - - ${{ inputs.root_file }} branding: icon: book color: blue diff --git a/entrypoint.sh b/entrypoint.sh index 6ef2a16..8dd0430 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,4 +3,5 @@ set -e cd $1 -latexmk $2 +latexmk +latexmk -c