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

30
README.md Normal file
View File

@@ -0,0 +1,30 @@
# TeXLive Action
Based on [TeXLive Action](https://github.com/repaction/texlive).
Example usage:
```yaml
name: Compile and deploy TeX documents
run-name: Compile and deploy TeX documents
on:
push:
branches:
- main
jobs:
build_tex:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Compile TeX documents
uses: https://git.roy.lv/actions/texlive-action # Full URL is Gitea Actions specific
with:
tex_files: >-
file1.tex
file2.tex
compiler: xelatex
options: ''
```