Skip to content

Commit 196c05b

Browse files
authored
Merge pull request #64 from pytest-dev/chain-deployments/1/dev
Make pypi deployment dependent on test-pypi deployment
2 parents 02a6df1 + 47f9caa commit 196c05b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
publish-to-test-pypi:
3030
name: Publish packages to Test PyPI
3131
runs-on: ubuntu-latest
32-
needs: [build]
32+
needs:
33+
- build
3334
environment: test-pypi
3435
permissions:
3536
# this permission is mandatory for trusted publishing
@@ -47,7 +48,9 @@ jobs:
4748
publish-to-pypi:
4849
name: Publish packages to PyPI
4950
runs-on: ubuntu-latest
50-
needs: [build]
51+
needs:
52+
- build
53+
- publish-to-test-pypi
5154
environment: pypi
5255
permissions:
5356
# this permission is mandatory for trusted publishing

0 commit comments

Comments
 (0)