ExamplePipeline: run Package unconditionally; Release needs Package

This commit is contained in:
umarcor
2021-11-30 23:58:41 +01:00
parent 36c2302b2e
commit 11ce447dda

View File

@@ -49,17 +49,8 @@ jobs:
requirements: '-r tests/requirements.txt' requirements: '-r tests/requirements.txt'
report: 'htmlmypy' report: 'htmlmypy'
Release:
uses: pyTooling/Actions/.github/workflows/Release.yml@main
if: startsWith(github.ref, 'refs/tags')
needs:
- UnitTesting
- Coverage
- StaticTypeCheck
Package: Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@main uses: pyTooling/Actions/.github/workflows/Package.yml@main
if: startsWith(github.ref, 'refs/tags')
needs: needs:
- Params - Params
- Coverage - Coverage
@@ -69,6 +60,15 @@ jobs:
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }} python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
requirements: 'wheel' requirements: 'wheel'
Release:
uses: pyTooling/Actions/.github/workflows/Release.yml@main
if: startsWith(github.ref, 'refs/tags')
needs:
- UnitTesting
- Coverage
- StaticTypeCheck
- Package
PublishOnPyPI: PublishOnPyPI:
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main
if: startsWith(github.ref, 'refs/tags') if: startsWith(github.ref, 'refs/tags')