Skip to content

fix in action

fix in action #7

Workflow file for this run

name: Build LaTeX document
on: [push]
defaults:
run:
working-directory: ./lectures/01-introduction/txt/
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: lecture.tex
working-directory: ./lectures/01-introduction/txt/

Check failure on line 18 in .github/workflows/build-latex.yml

View workflow run for this annotation

GitHub Actions / Build LaTeX document

Invalid workflow file

The workflow is not valid. .github/workflows/build-latex.yml (Line: 18, Col: 9): Unexpected value 'working-directory' .github/workflows/build-latex.yml (Line: 24, Col: 9): Unexpected value 'working-directory'
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: PDF
path: lecture.pdf
working-directory: ./lectures/01-introduction/txt/