Skip to content

Fix for Ubuntu workflow #24

Fix for Ubuntu workflow

Fix for Ubuntu workflow #24

Workflow file for this run

name: LaTeX
on:
push:
branches:
- main
tags:
- '2024-week-*'
workflow_dispatch:
jobs:
build_documents:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX exercises
uses: xu-cheng/latex-action@v3
with:
root_file: "week*.tex"
work_in_root_file_dir: true
- name: Compile LaTeX exams
uses: xu-cheng/latex-action@v3
with:
root_file: "exam/*_exam_*.tex"
work_in_root_file_dir: true
- name: Compile LaTeX slides
uses: xu-cheng/latex-action@v3
with:
root_file: "slides/*.tex"
work_in_root_file_dir: true
- name: Create Release
if: startsWith(github.ref, 'refs/tags/2024-week-')
uses: ncipollo/release-action@v1
with:
artifacts: "week*.pdf, exam/*_exam_*.pdf, slides/slides_*.pdf"
generateReleaseNotes: true
token: ${{ secrets.GITHUB_TOKEN }}