Skip to content

Commit e157afb

Browse files
committed
LaTeX: Using alternative for addnab/docker-run-action.
1 parent 1eed538 commit e157afb

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/LaTeXDocumentation.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,29 +58,21 @@ jobs:
5858
name: 📓 Converting LaTeX Documentation to PDF
5959
runs-on: "ubuntu-${{ inputs.ubuntu_image_version }}"
6060
continue-on-error: ${{ inputs.can-fail == 'true' }}
61+
container:
62+
image: pytooling/miktex:sphinx
63+
volumes:
64+
- ${{ github.workspace }}/latex:/latex
6165
steps:
6266
- name: 📥 Download artifacts '${{ inputs.latex_artifact }}' from 'SphinxDocumentation' job
6367
uses: pyTooling/download-artifact@v7
6468
with:
6569
name: ${{ inputs.latex_artifact }}
6670
path: latex
6771

68-
# - name: Debug
69-
# run: |
70-
# tree -pash .
71-
7272
- name: Build LaTeX document using 'pytooling/miktex:sphinx'
73-
uses: addnab/docker-run-action@v3
7473
if: inputs.pdf_artifact != ''
75-
with:
76-
image: pytooling/miktex:sphinx
77-
options: -v ${{ github.workspace }}/latex:/latex --workdir /latex
78-
run: |
79-
# which ${{ inputs.processor }}
80-
# pwd
81-
# ls -lAh
82-
83-
latexmk -${{ inputs.processor }} "${{ inputs.document }}.tex"
74+
run: |
75+
latexmk -${{ inputs.processor }} "${{ inputs.document }}.tex"
8476
8577
- name: 📤 Upload 'PDF Documentation' artifact
8678
uses: pyTooling/upload-artifact@v6

0 commit comments

Comments
 (0)