Skip to content

Commit

Permalink
ci/Pipeline: run Package unconditionally; Release needs Package
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Nov 30, 2021
1 parent a2aa0ec commit f92fdbb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,24 @@ jobs:
mypy --html-report ../htmlmypy -p ProjectModel
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }}

Release:
uses: pyTooling/Actions/.github/workflows/Release.yml@r0
if: startsWith(github.ref, 'refs/tags')
needs:
- UnitTesting
- Coverage
- StaticTypeCheck

Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@r0
if: startsWith(github.ref, 'refs/tags')
needs:
- Params
- Coverage
with:
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.package }}

Release:
uses: pyTooling/Actions/.github/workflows/Release.yml@r0
if: startsWith(github.ref, 'refs/tags')
needs:
- UnitTesting
- Coverage
- StaticTypeCheck
- Package

PublishOnPyPI:
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r0
if: startsWith(github.ref, 'refs/tags')
Expand Down

0 comments on commit f92fdbb

Please sign in to comment.