GitHub Action
Compile LateX
v1.1.2
Latest version
This action compiles latex files using Tectonic, which automatically downloads necessary dependencies, and compiles to pdf.
Required Path of tex, xtx file to compile.
Optional Compiled PDF is pushed, if push
is passed as 'yes'.
Pushes a Compiled PDF file parallel to the tex, xtx file, if push is passed as 'yes'.
on: [push]
jobs:
latex-job:
runs-on: ubuntu-latest
name: A job to Compile Latex file
steps:
- uses: actions/checkout@v1
- name: Compilation
uses: vinay0410/tectonic-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tex_path: 'dir/file.tex'
push: 'yes'
on: [push]
jobs:
latex-job:
runs-on: ubuntu-latest
name: A job to Compile Latex file
steps:
- uses: actions/checkout@v1
- name: Compilation
uses: vinay0410/tectonic-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tex_path: 'dir/file.tex'