Skip to content

Commit

Permalink
Add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MG-5 committed Feb 26, 2024
1 parent 01d11ea commit 34bbc43
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: LaTeX Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up LaTeX
uses: xu-cheng/latex-action@v3
with:
pdflatex-xelatex: pdflatex

- name: Compile LaTeX document
run: |
pdflatex -interaction=nonstopmode -shell-escape cnc-fräse/cnc-fräse.tex
- name: Upload PDFs.
uses: actions/upload-artifact@v4
with:
name: PDFs
path: "*.pdf"
retention-days: 5
if-no-files-found: error

0 comments on commit 34bbc43

Please sign in to comment.