From 7ce4e2feb96e991e6e45e45d522af8157ef7b02b Mon Sep 17 00:00:00 2001 From: Koen Leuveld Date: Tue, 9 Jan 2024 10:51:21 +0100 Subject: [PATCH] first version of github actions --- .github/workflows/build_latex.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build_latex.yml diff --git a/.github/workflows/build_latex.yml b/.github/workflows/build_latex.yml new file mode 100644 index 0000000..057db27 --- /dev/null +++ b/.github/workflows/build_latex.yml @@ -0,0 +1,25 @@ +name: Build LaTeX document + +on: + push: + branches: + - test + +permissions: + contents: write + +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@v3 + with: + root_file: main.tex + - name: Upload PDF file + uses: actions/upload-artifact@v3 + with: + name: PDF + path: main.pdf \ No newline at end of file