docs: 新增矩阵表示和历史章节 #38
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: LaTeX Document | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "**.yml" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "**.yml" | |
jobs: | |
build: | |
name: Build document | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Compile LaTeX | |
uses: xu-cheng/latex-action@v2 | |
with: | |
args: -xelatex -interaction=nonstopmode -file-line-error -output-directory=build | |
working_directory: 讲义 | |
root_file: 线性代数荣誉课辅学讲义.tex | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: 线性代数荣誉课辅学讲义-${{ github.run_number }}.pdf | |
path: | | |
${{ github.workspace }}/讲义/build/线性代数荣誉课辅学讲义.pdf |