mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Download junit artifact in SphinxDocumentation job.
This commit is contained in:
3
.github/workflows/LaTeXDocumentation.yml
vendored
3
.github/workflows/LaTeXDocumentation.yml
vendored
@@ -53,7 +53,8 @@ jobs:
|
|||||||
- name: Compile LaTeX document
|
- name: Compile LaTeX document
|
||||||
uses: xu-cheng/latex-action@master
|
uses: xu-cheng/latex-action@master
|
||||||
with:
|
with:
|
||||||
root_file: latex/${{ inputs.document }}.tex
|
working_directory: latex
|
||||||
|
root_file: ${{ inputs.document }}.tex
|
||||||
|
|
||||||
- name: 📤 Upload 'PDF Documentation' artifact
|
- name: 📤 Upload 'PDF Documentation' artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
27
.github/workflows/SphinxDocumentation.yml
vendored
27
.github/workflows/SphinxDocumentation.yml
vendored
@@ -44,6 +44,21 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: 'doc'
|
default: 'doc'
|
||||||
type: string
|
type: string
|
||||||
|
coverage_json_artifact:
|
||||||
|
description: 'Name of the coverage JSON artifact.'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
unittest_xml_artifact:
|
||||||
|
description: 'Name of the unittest XML artifact.'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
unittest_xml_directory:
|
||||||
|
description: 'Directory where unittest XML artifact is extracted.'
|
||||||
|
required: false
|
||||||
|
default: 'report/unit'
|
||||||
|
type: string
|
||||||
html_artifact:
|
html_artifact:
|
||||||
description: 'Name of the HTML documentation artifact.'
|
description: 'Name of the HTML documentation artifact.'
|
||||||
required: false
|
required: false
|
||||||
@@ -54,11 +69,6 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
coverage_json_artifact:
|
|
||||||
description: 'Name of the JSON coverage artifact.'
|
|
||||||
required: false
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Sphinx:
|
Sphinx:
|
||||||
@@ -140,6 +150,13 @@ jobs:
|
|||||||
|
|
||||||
print(f"DEBUG:\n html={htmlDirectory}\n xml={xmlFile}\n json={jsonFile}")
|
print(f"DEBUG:\n html={htmlDirectory}\n xml={xmlFile}\n json={jsonFile}")
|
||||||
|
|
||||||
|
- name: 📥 Download artifacts '${{ inputs.unittest_xml_artifact }}' from 'Unittesting' job
|
||||||
|
if: inputs.unittest_xml_artifact != ''
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{ inputs.unittest_xml_artifact }}
|
||||||
|
path: ${{ inputs.unittest_xml_directory }}
|
||||||
|
|
||||||
- name: 📥 Download artifacts '${{ inputs.coverage_json_artifact }}' from 'PublishCoverageResults' job
|
- name: 📥 Download artifacts '${{ inputs.coverage_json_artifact }}' from 'PublishCoverageResults' job
|
||||||
if: inputs.coverage_json_artifact != ''
|
if: inputs.coverage_json_artifact != ''
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user