mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Allow disabling cleanups.
This commit is contained in:
7
.github/workflows/CompletePipeline.yml
vendored
7
.github/workflows/CompletePipeline.yml
vendored
@@ -93,6 +93,11 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
|
cleanup:
|
||||||
|
description: 'Cleanup artifacts afterwards.'
|
||||||
|
required: false
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
secrets:
|
secrets:
|
||||||
PYPI_TOKEN:
|
PYPI_TOKEN:
|
||||||
description: "Token for pushing releases to PyPI."
|
description: "Token for pushing releases to PyPI."
|
||||||
@@ -244,6 +249,7 @@ jobs:
|
|||||||
- PublishCoverageResults
|
- PublishCoverageResults
|
||||||
- PublishTestResults
|
- PublishTestResults
|
||||||
- Documentation
|
- Documentation
|
||||||
|
if: ${{ inputs.cleanup }}
|
||||||
with:
|
with:
|
||||||
sqlite_coverage_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}-
|
sqlite_coverage_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}-
|
||||||
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
||||||
@@ -305,6 +311,7 @@ jobs:
|
|||||||
- PublishToGitHubPages
|
- PublishToGitHubPages
|
||||||
# - PublishOnPyPI
|
# - PublishOnPyPI
|
||||||
- IntermediateCleanUp
|
- IntermediateCleanUp
|
||||||
|
if: ${{ inputs.cleanup }}
|
||||||
with:
|
with:
|
||||||
package: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
package: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||||
remaining: |
|
remaining: |
|
||||||
|
|||||||
Reference in New Issue
Block a user