Add basic GitHub Action

This commit is contained in:
2023-12-20 10:29:05 +01:00
commit f7863d079e
4 changed files with 78 additions and 0 deletions

22
action.yml Normal file
View File

@@ -0,0 +1,22 @@
name: TeXLive Action
description: Compile TeX documents into PDF with TeXLive
branding:
icon: printer
color: blue
inputs:
files:
description: TeX files to be compiled.
required: true
compiler:
description: The TeX engine to be used.
default: xelatex
options:
description: Arguments to be passed to the TeX compiler
default: ''
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.files }}
- ${{ inputs.compiler }}
- ${{ inputs.options }}