From 11ce447dda87a5b5ac879348fa9d89c91901dee4 Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 30 Nov 2021 23:58:41 +0100 Subject: [PATCH] ExamplePipeline: run Package unconditionally; Release needs Package --- ExamplePipeline.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ExamplePipeline.yml b/ExamplePipeline.yml index 40ac7a9..5bffa42 100644 --- a/ExamplePipeline.yml +++ b/ExamplePipeline.yml @@ -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 @@ -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')