Use is_release_tag.

This commit is contained in:
Patrick Lehmann
2025-04-26 18:37:44 +02:00
parent 9e6138b5a9
commit f015e1c3a0
2 changed files with 24 additions and 7 deletions

View File

@@ -208,7 +208,6 @@ jobs:
ReleasePage:
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@dev
if: startsWith(github.ref, 'refs/tags')
needs:
- Prepare
- UnitTesting
@@ -216,7 +215,7 @@ jobs:
# - StaticTypeCheck
- Package
- PublishToGitHubPages
secrets: inherit
if: needs.Prepare.outputs.is_release_tag
permissions:
contents: write
actions: write
@@ -226,11 +225,11 @@ jobs:
PublishOnPyPI:
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
if: startsWith(github.ref, 'refs/tags')
needs:
- UnitTestingParams
- ReleasePage
# - Package
if: needs.Prepare.outputs.is_release_tag
with:
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
requirements: -r dist/requirements.txt