mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
Use is_release_tag.
This commit is contained in:
5
.github/workflows/_Checking_JobTemplates.yml
vendored
5
.github/workflows/_Checking_JobTemplates.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user