Add basic GitHub Action
This commit is contained in:
30
README.md
Normal file
30
README.md
Normal 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: ''
|
||||
```
|
||||
Reference in New Issue
Block a user