From 62ec16513c3373d076fdbc070ce6de1bef6ca367 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sun, 14 May 2023 18:29:36 +0200 Subject: [PATCH] Initial commit --- Dockerfile | 7 +++++++ action.yml | 14 ++++++++++++++ entrypoint.sh | 3 +++ 3 files changed, 24 insertions(+) create mode 100644 Dockerfile create mode 100644 action.yml create mode 100755 entrypoint.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7216c1f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM archlinux + +RUN pacman -Syu --noconfirm texlive-most texlive-bibtexextra texlive-fontsextra biber + +COPY entrypoint.sh /root/ + +ENTRYPOINT ["/root/entrypoint.sh"] diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..5fc9543 --- /dev/null +++ b/action.yml @@ -0,0 +1,14 @@ +name: "Latexmk" +description: "Run latexmk with most latex packages" +author: edpibu +inputs: + root_file: + description: File to compile +runs: + using: "docker" + image: "Dockerfile" + args: + - ${{ inputs.root_file }} + branding: + icon: book + color: blue diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 0000000..c1452ba --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +latexmk $1