1
Fork 0

Initial commit

This commit is contained in:
Edgar P. Burkhart 2023-05-14 18:29:36 +02:00
commit 1d175ef508
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
3 changed files with 33 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
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 fc-cache
COPY entrypoint.sh /root/
ENTRYPOINT ["/root/entrypoint.sh"]

17
action.yml Normal file
View File

@ -0,0 +1,17 @@
name: "Latexmk"
description: "Run latexmk with most latex packages"
author: edpibu
inputs:
root_file:
description: File to compile
working_directory:
description: Working directory
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.working_directory }}
- ${{ inputs.root_file }}
branding:
icon: book
color: blue

6
entrypoint.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -e
cd $1
latexmk $2