docs: 完善补全第一、四讲证明部分 #269
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: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "latexindent.yaml" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "latexindent.yaml" | |
jobs: | |
build: | |
name: Build document | |
runs-on: ubuntu-latest | |
container: | |
image: registry.gitlab.com/islandoftex/images/texlive:TL2023-historic | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
id: build | |
working-directory: ${{ github.workspace }} | |
run: | | |
git config --system --add safe.directory $(pwd -P) | |
echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
make gh-actions | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: LALU-build-${{ github.run_number }}-${{ steps.build.outputs.sha }} | |
if-no-files-found: error | |
path: ${{ github.workspace }}/讲义/*.pdf |