mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
ExamplePipeline: run Package unconditionally; Release needs Package
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user