Improved handling of true values from GitHub YAML.

This commit is contained in:
Patrick Lehmann
2024-12-26 18:12:47 +01:00
parent 9296bd6e7d
commit d324bdacee
4 changed files with 10 additions and 9 deletions

View File

@@ -130,11 +130,11 @@ jobs:
addDraft="--draft" addDraft="--draft"
if [[ ${{ inputs.prerelease }} == true ]]; then if [[ "${{ inputs.prerelease }}" == "true" ]]; then
addPreRelease="--prerelease" addPreRelease="--prerelease"
fi fi
if [[ ${{ inputs.latest }} == false ]]; then if [[ "${{ inputs.latest }}" == "false" ]]; then
addLatest="--latest=false" addLatest="--latest=false"
fi fi

View File

@@ -337,7 +337,7 @@ jobs:
- name: Verify out parameters - name: Verify out parameters
id: verify id: verify
run: | run: |
echo 'python_version: ${{ steps.params.outputs.python_version }}' printf "%s\n" "python_version: ${{ steps.params.outputs.python_version }}"
echo 'python_jobs: ${{ steps.params.outputs.python_jobs }}' printf "%s\n" "python_jobs: ${{ steps.params.outputs.python_jobs }}"
echo 'artifact_names: ${{ steps.params.outputs.artifact_names }}' printf "%s\n" "artifact_names: ${{ steps.params.outputs.artifact_names }}"
echo 'params: ${{ steps.params.outputs.params }}' printf "%s\n" "params: ${{ steps.params.outputs.params }}"

View File

@@ -55,7 +55,7 @@ jobs:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: 📥 Download artifacts '${{ inputs.doc }}' from 'BuildTheDocs' job - name: 📥 Download artifacts '${{ inputs.doc }}' from 'SphinxDocumentation' job
uses: pyTooling/download-artifact@v4 uses: pyTooling/download-artifact@v4
with: with:
name: ${{ inputs.doc }} name: ${{ inputs.doc }}

View File

@@ -166,7 +166,7 @@ jobs:
needs: needs:
- UnitTestingParams - UnitTestingParams
- Documentation - Documentation
# - PDFDocumentation - PDFDocumentation
- PublishCoverageResults - PublishCoverageResults
- StaticTypeCheck - StaticTypeCheck
with: with:
@@ -207,7 +207,7 @@ jobs:
- StaticTypeCheck - StaticTypeCheck
- PlatformTesting - PlatformTesting
- Documentation - Documentation
# - PDFDocumentation - PDFDocumentation
- PublishTestResults - PublishTestResults
- PublishCoverageResults - PublishCoverageResults
- PublishToGitHubPages - PublishToGitHubPages
@@ -228,6 +228,7 @@ jobs:
${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }} ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }} ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).unittesting_xml }}-* ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).unittesting_xml }}-*
${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).unittesting_html }}-* ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).unittesting_html }}-*
${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_xml }}-* ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_xml }}-*