Make PDF 6 parallel #4
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: Build PDF in parallel (with log output) | |
on: | |
workflow_dispatch: | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
part: [1, 2, 3, 4, 5, 6] # Define the parts to be processed in parallel | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
fetch-depth: 1 | |
- name: Install requirements | |
run: sh scripts/install_requirements_pdf.sh > /dev/null | |
- name: Make PDF | |
run: latexmk hpmor-${{ matrix.part }} | |
- name: Publish PDF to release | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: WorkInProgress | |
prerelease: true | |
files: hpmor-${{ matrix.part }}.pdf |