Fix minor typos (#192) #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build SS3 user manual using texlive | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.tex' | |
- '**.yml' | |
pull_request: | |
paths: | |
- '**.tex' | |
- '**.yml' | |
workflow_call: | |
inputs: | |
ref: | |
default: ${{ github.ref }} | |
required: false | |
type: string | |
jobs: | |
build-pdf: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.ref }} | |
- name: remove rendered file, check that is gone. | |
run: | | |
rm -rf SS330_User_Manual.pdf | |
ls | |
# - name: add lua filter to the repository | |
# run: wget https://raw.githubusercontent.com/klpn/accpdf/master/common/tagged-filter.lua | |
- name: Compile LaTeX document | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: SS330_User_Manual.tex | |
#args: --lua-filter=tagged-filter.lua | |
latexmk_use_lualatex: true | |
- name: Upload PDF file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: SS330_User_Manual.pdf | |
path: SS330_User_Manual.pdf | |
- name: Upload log file when job fails | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: SS330_User_Manual.log | |
path: SS330_User_Manual.log |