Unverified Commit 2f7d2843 authored by liziwl's avatar liziwl Committed by GitHub
Browse files

Merge pull request #33 from SUSTech-CRA/fix/flow

更新flow,采用最新texlive编译
parents 069e77ba 6b5e038b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ jobs:
        run: python test/update-dist.py --dev

      - name: run texlive docker container
        uses: docker://texlive/texlive:TL2020-historic
        uses: docker://texlive/texlive:latest
        # https://hub.docker.com/r/texlive/texlive
        with:
          args: make dist-github
+7 −5
Original line number Diff line number Diff line
@@ -5,6 +5,11 @@ on: [push, pull_request]
jobs:
  build_latex:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        texlive: [TL2020-historic, latest]
        # 多版本 TexLive 兼容性测试
    container: texlive/texlive:${{ matrix.texlive }}
    steps:
      - name: Checkout
        uses: actions/checkout@v2
@@ -17,15 +22,12 @@ jobs:
        run: python test/update-dist.py --dev

      - name: run texlive docker container
        uses: docker://texlive/texlive:TL2020-historic
        # https://hub.docker.com/r/texlive/texlive
        with:
          args: make doc test
        run: make doc test

      - name: Publish PDF as actions assets
        uses: actions/upload-artifact@v2
        with:
          name: Example-PDFs
          name: Example-PDFs-texlive-${{ matrix.texlive }}
          path: |
            sustechthesis.pdf
            public-test/*.pdf
+5 −0
Original line number Diff line number Diff line
@@ -5926,7 +5926,12 @@ Thesis for the degree of \degree@level@en@noun \ of \thu@degree@domain@en%
\RequirePackage{enumitem}
\RequirePackage{etoolbox}
\RequirePackage{metalogo}

% Pretending the `amssymb` has been loaded.
% This should be removed after `markdown` v2.13.0.
\expandafter\def\csname ver@amssymb.sty\endcsname{0000/00/00}
\RequirePackage[tightLists=false]{markdown}
\expandafter\let\csname ver@amssymb.sty\endcsname\relax

\markdownSetup{
  renderers = {