diff --git a/.github/workflows/build_paper.yml b/.github/workflows/build_paper.yml index 1329cec..bb2ac75 100644 --- a/.github/workflows/build_paper.yml +++ b/.github/workflows/build_paper.yml @@ -1,5 +1,3 @@ -# This is a basic workflow to help you get started with Actions - name: Compile paper # Provide permissions to read and write the repo, create releases. @@ -30,11 +28,13 @@ jobs: } }' > ${HOME}/.latexminted_config + # Uses the latest TeXLive distribution (currently with minted v3+) - name: Compile paper uses: xu-cheng/latex-action@master with: root_file: paper.tex + # Uses the latest TeXLive distribution (currently with minted v3+) - name: Compile submission uses: xu-cheng/latex-action@master with: diff --git a/.github/workflows/build_paper_old.yml b/.github/workflows/build_paper_old.yml index 61fc110..384e091 100644 --- a/.github/workflows/build_paper_old.yml +++ b/.github/workflows/build_paper_old.yml @@ -1,5 +1,3 @@ -# This is a basic workflow to help you get started with Actions - name: Compile paper # Provide permissions to read and write the repo, create releases. @@ -12,21 +10,45 @@ on: [push, pull_request] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" - build: + # This workflow contains two jobs called "build1" and "build2" + build1: # The type of runner that the job will run on runs-on: ubuntu-latest container: - # Most recent version of texlive image has broken minted/pygments + # Uses an older TeXLive distribution (with minted v2.6) image: ghcr.io/xu-cheng/texlive-full:20221101 # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + - name: Compile paper run: | latexmk -shell-escape -pdf paper + - name: Compile submission run: | latexmk -shell-escape -pdf submission + build2: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Uses an older TeXLive distribution (with minted v2.9) + - name: Compile paper + uses: xu-cheng/latex-action@master + with: + root_file: paper.tex + docker_image: ghcr.io/xu-cheng/texlive-full:20240901 + + # Uses an older TeXLive distribution (with minted v2.9) + - name: Compile submission + uses: xu-cheng/latex-action@master + with: + root_file: submission.tex + docker_image: ghcr.io/xu-cheng/texlive-full:20240901