Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/compile_with_latex_2020.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 使用不同的latex版本编译,需要放到不同文件中
# 放到不同-name中编译会报错:
# Biber error: [336] Utils.pm:411> ERROR - Error: Found biblatex control file version 3.11, expected version 3.7.

name: Compile Latex

on: [push, pull_request]

jobs:
build_latex:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Set up Git repository
uses: actions/checkout@v3

- name: Compile document with latex 2020
uses: xu-cheng/latex-action@v3
with:
root_file: PFC.tex
texlive_version: 2020
latexmk_use_xelatex: true

5 changes: 3 additions & 2 deletions .github/workflows/compileandrelease.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

name: Compile Latex

on: [push, pull_request]
on: [push]

jobs:
build_latex:
Expand All @@ -12,7 +12,8 @@ jobs:
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document

- name: Compile document with latex 2025
uses: xu-cheng/latex-action@v3
with:
root_file: PFC.tex
Expand Down