Skip to content

Commit

Permalink
Added the GitHub Actions script
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko19907 committed May 23, 2023
1 parent 4c9ac19 commit 3fb7a7e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build LaTeX document
on:
push:
workflow_dispatch:

jobs:
build_latex:
runs-on: ubuntu-latest

steps:
- name: 🔧 Set up Git repository
uses: actions/checkout@v3

- name: 📝 Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex
latexmk_shell_escape: true
extra_system_packages: "inkscape"

- name: 📤 Upload PDF file
uses: actions/upload-artifact@v3
with:
name: PDF
path: main.pdf

0 comments on commit 3fb7a7e

Please sign in to comment.