Initial commit
This commit is contained in:
commit
87a2957280
3 changed files with 30 additions and 0 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -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"]
|
17
action.yml
Normal file
17
action.yml
Normal 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
6
entrypoint.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd $1
|
||||
latexmk $2
|
Loading…
Reference in a new issue