diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c80e5d8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Build LaTeX document +on: [push] +jobs: + build_latex: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v4 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v3 + with: + root_file: "report.tex" + working_directory: ./ + - name: Upload PDF file + uses: actions/upload-artifact@v4 + with: + name: PDF + path: ./*.pdf + retention-days: 10 + if-no-files-found: error diff --git a/README.md b/README.md index 35e95a5..ca3f235 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # R&D Project Report Latex Template +![event parameter](../../actions/workflows/main.yml/badge.svg?event=push) This is a template for R&D project reports in the Autonomous Systems master's program at Hochschule Bonn-Rhein-Sieg, using the `IEEETran` class.