Skip to content

Commit

Permalink
ExamplePipeline: 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 36c2302 commit 11ce447
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ExamplePipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,8 @@ jobs:
requirements: '-r tests/requirements.txt'
report: 'htmlmypy'

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

Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@main
if: startsWith(github.ref, 'refs/tags')
needs:
- Params
- Coverage
Expand All @@ -69,6 +60,15 @@ jobs:
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
requirements: 'wheel'

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

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

0 comments on commit 11ce447

Please sign in to comment.