Added ubuntu_image_version parameter.

This commit is contained in:
Patrick Lehmann
2024-11-03 08:41:51 +01:00
parent 1cef082753
commit b9b9b0b1d4
16 changed files with 81 additions and 16 deletions

View File

@@ -24,6 +24,11 @@ name: LaTeX Documentation
on:
workflow_call:
inputs:
ubuntu_image_version:
description: 'Ubuntu image version.'
required: false
default: '24.04'
type: string
document:
description: 'LaTeX root document without *.tex extension.'
required: true
@@ -42,7 +47,7 @@ on:
jobs:
PDFDocumentation:
name: 📓 Converting LaTeX Documentation to PDF
runs-on: ubuntu-24.04
runs-on: "ubuntu-${ubuntu_image_version}"
steps:
- name: 📥 Download artifacts '${{ inputs.latex_artifact }}' from 'SphinxDocumentation' job
uses: actions/download-artifact@v4