File tree Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change 44 release :
55 types : [published]
66
7+ concurrency :
8+ group : release-${{ github.event.release.tag_name }}
9+
710jobs :
8- build-and-publish :
11+ build-and-publish-ext :
912 runs-on : ubuntu-latest
1013 environment :
11- name : release
12- url : https://pypi.org/p/django-stubs
14+ name : release-ext
15+ url : https://pypi.org/p/django-stubs-ext
1316 permissions :
1417 id-token : write
1518 steps :
@@ -22,16 +25,19 @@ jobs:
2225 - uses : actions/checkout@v4
2326 with :
2427 fetch-depth : 0
25- - name : Build package
26- run : python -m build
27- - name : Publish to PyPI
28+ - name : Build ext package
29+ run : python -m build ext/
30+ - name : Publish ext to PyPI
2831 uses : pypa/gh-action-pypi-publish@v1.8.14
32+ with :
33+ packages-dir : ext/dist/
2934
30- build-and-publish-ext :
35+ build-and-publish :
3136 runs-on : ubuntu-latest
37+ needs : [build-and-publish-ext]
3238 environment :
33- name : release-ext
34- url : https://pypi.org/p/django-stubs-ext
39+ name : release
40+ url : https://pypi.org/p/django-stubs
3541 permissions :
3642 id-token : write
3743 steps :
4450 - uses : actions/checkout@v4
4551 with :
4652 fetch-depth : 0
47- - name : Build ext package
48- run : python -m build ext/
49- - name : Publish ext to PyPI
53+ - name : Build package
54+ run : python -m build
55+ - name : Publish to PyPI
5056 uses : pypa/gh-action-pypi-publish@v1.8.14
51- with :
52- packages-dir : ext/dist/
You can’t perform that action at this time.
0 commit comments