Skip to content

Commit 7a0929c

Browse files
committed
Make the ci-release workflow depend on the tests workflow.
1 parent e36c86b commit 7a0929c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci-release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515

1616
build:
1717
name: Build
18+
needs: tests
1819
uses: glenn20/python-ci/.github/workflows/build.yaml@main
1920

2021
publish-test:
@@ -28,7 +29,7 @@ jobs:
2829

2930
publish-pypi:
3031
name: Publish to pypi
31-
needs: build
32+
needs: publish-test
3233
uses: ./.github/workflows/publish.yaml
3334
with:
3435
pypi: pypi
@@ -38,7 +39,7 @@ jobs:
3839
github-release:
3940
name: Create GitHub release
4041
uses: glenn20/python-ci/.github/workflows/release.yaml@main
41-
needs: publish-test
42+
needs: publish-pypi
4243
permissions:
4344
contents: write # IMPORTANT: mandatory for github release
4445
id-token: write # IMPORTANT: mandatory for github release

0 commit comments

Comments
 (0)