mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Use == 'true'.
This commit is contained in:
14
.github/workflows/CompletePipeline.yml
vendored
14
.github/workflows/CompletePipeline.yml
vendored
@@ -234,9 +234,7 @@ jobs:
|
|||||||
coverage_report_html_directory: ${{ needs.ConfigParams.outputs.coverage_report_html_directory }}
|
coverage_report_html_directory: ${{ needs.ConfigParams.outputs.coverage_report_html_directory }}
|
||||||
codecov: ${{ inputs.codecov }}
|
codecov: ${{ inputs.codecov }}
|
||||||
codacy: ${{ inputs.codacy }}
|
codacy: ${{ inputs.codacy }}
|
||||||
secrets:
|
secrets: inherit
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
CODACY_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
|
||||||
|
|
||||||
PublishTestResults:
|
PublishTestResults:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
|
||||||
@@ -250,8 +248,7 @@ jobs:
|
|||||||
merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
|
merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
|
||||||
dorny: ${{ inputs.dorny }}
|
dorny: ${{ inputs.dorny }}
|
||||||
codecov: ${{ inputs.codecov }}
|
codecov: ${{ inputs.codecov }}
|
||||||
secrets:
|
secrets: inherit
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
|
|
||||||
# VerifyDocs:
|
# VerifyDocs:
|
||||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
|
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
|
||||||
@@ -338,7 +335,7 @@ jobs:
|
|||||||
# - StaticTypeCheck
|
# - StaticTypeCheck
|
||||||
- Package
|
- Package
|
||||||
- PublishToGitHubPages
|
- PublishToGitHubPages
|
||||||
if: needs.Prepare.outputs.is_release_tag
|
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
actions: write
|
actions: write
|
||||||
@@ -352,13 +349,12 @@ jobs:
|
|||||||
- Prepare
|
- Prepare
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- ReleasePage
|
- ReleasePage
|
||||||
if: needs.Prepare.outputs.is_release_tag
|
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||||
with:
|
with:
|
||||||
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||||
requirements: -r dist/requirements.txt
|
requirements: -r dist/requirements.txt
|
||||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||||
secrets:
|
secrets: inherit
|
||||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
||||||
|
|
||||||
ArtifactCleanUp:
|
ArtifactCleanUp:
|
||||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
|
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
|
||||||
|
|||||||
4
.github/workflows/PrepareJob.yml
vendored
4
.github/workflows/PrepareJob.yml
vendored
@@ -212,11 +212,11 @@ jobs:
|
|||||||
printf " Check tag name against regexp '%s' ... " "${RELEASE_TAG_PATTERN}"
|
printf " Check tag name against regexp '%s' ... " "${RELEASE_TAG_PATTERN}"
|
||||||
if [[ "${tag}" =~ NIGHTLY_TAG_PATTERN ]]; then
|
if [[ "${tag}" =~ NIGHTLY_TAG_PATTERN ]]; then
|
||||||
printf "${ANSI_LIGHT_GREEN}[NIGHTLY]${ANSI_NOCOLOR}\n"
|
printf "${ANSI_LIGHT_GREEN}[NIGHTLY]${ANSI_NOCOLOR}\n"
|
||||||
is_nightly_tag=true
|
is_nightly_tag="true"
|
||||||
elif [[ "${tag}" =~ $RELEASE_TAG_PATTERN ]]; then
|
elif [[ "${tag}" =~ $RELEASE_TAG_PATTERN ]]; then
|
||||||
printf "${ANSI_LIGHT_GREEN}[RELEASE]${ANSI_NOCOLOR}\n"
|
printf "${ANSI_LIGHT_GREEN}[RELEASE]${ANSI_NOCOLOR}\n"
|
||||||
version="${tag}"
|
version="${tag}"
|
||||||
is_release_tag=true
|
is_release_tag="true"
|
||||||
else
|
else
|
||||||
printf "${ANSI_LIGHT_RED}[FAILED]${ANSI_NOCOLOR}\n"
|
printf "${ANSI_LIGHT_RED}[FAILED]${ANSI_NOCOLOR}\n"
|
||||||
printf "${ANSI_LIGHT_RED}Tag name '%s' doesn't conform to regexp${ANSI_NOCOLOR}\n" "${tag}"
|
printf "${ANSI_LIGHT_RED}Tag name '%s' doesn't conform to regexp${ANSI_NOCOLOR}\n" "${tag}"
|
||||||
|
|||||||
4
.github/workflows/_Checking_JobTemplates.yml
vendored
4
.github/workflows/_Checking_JobTemplates.yml
vendored
@@ -215,7 +215,7 @@ jobs:
|
|||||||
# - StaticTypeCheck
|
# - StaticTypeCheck
|
||||||
- Package
|
- Package
|
||||||
- PublishToGitHubPages
|
- PublishToGitHubPages
|
||||||
if: needs.Prepare.outputs.is_release_tag
|
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
actions: write
|
actions: write
|
||||||
@@ -229,7 +229,7 @@ jobs:
|
|||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- ReleasePage
|
- ReleasePage
|
||||||
# - Package
|
# - Package
|
||||||
if: needs.Prepare.outputs.is_release_tag
|
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||||
with:
|
with:
|
||||||
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||||
requirements: -r dist/requirements.txt
|
requirements: -r dist/requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user