Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saona-raimundo authored Oct 17, 2023
1 parent 5be306c commit c4602c7
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
name: 'Build LaTex Document'

on: [push]

jobs:
latex-job:
build:
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: 'main.tex'
push: 'yes'
- name: Checkout
uses: actions/checkout@v4
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Tectonic
run: tectonic main.tex
- name: Upload pdf
uses: actions/upload-artifact@v3
with:
name: main
path: main.pdf

0 comments on commit c4602c7

Please sign in to comment.