Skip to content

update Github action #3

update Github action

update Github action #3

Workflow file for this run

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:
working_directory: src
root_file: |
all.tex
chapter1.tex
chapter2.tex
chapter3.tex
chapter4.tex
chapter5.tex
chapter6.tex
chapter7.tex
chapter8.tex
chapter9.tex
chapter10.tex
chapter11.tex
chapter12.tex
latexmk_shell_escape: true
- name: Release
uses: softprops/action-gh-release@v2
# if: startsWith(github.ref, 'refs/tags/')
with:
files: |
src/all.pdf
src/chapter1.pdf
src/chapter2.pdf
src/chapter3.pdf
src/chapter4.pdf
src/chapter5.pdf
src/chapter6.pdf
src/chapter7.pdf
src/chapter8.pdf
src/chapter9.pdf
src/chapter10.pdf
src/chapter11.pdf
src/chapter12.pdf