From d5635a8842b340bc7016bc666f12bee62c299086 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Wed, 16 Apr 2025 13:35:11 +0200 Subject: [PATCH] Allow disabling cleanups. --- .github/workflows/CompletePipeline.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/CompletePipeline.yml b/.github/workflows/CompletePipeline.yml index 8ce2cde..30f6c5e 100644 --- a/.github/workflows/CompletePipeline.yml +++ b/.github/workflows/CompletePipeline.yml @@ -93,6 +93,11 @@ on: required: false default: '' type: string + cleanup: + description: 'Cleanup artifacts afterwards.' + required: false + default: true + type: boolean secrets: PYPI_TOKEN: description: "Token for pushing releases to PyPI." @@ -244,6 +249,7 @@ jobs: - PublishCoverageResults - PublishTestResults - Documentation + if: ${{ inputs.cleanup }} with: sqlite_coverage_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}- xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}- @@ -305,6 +311,7 @@ jobs: - PublishToGitHubPages # - PublishOnPyPI - IntermediateCleanUp + if: ${{ inputs.cleanup }} with: package: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} remaining: |