File tree 1 file changed +18
-14
lines changed
1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change 4
4
release :
5
5
types : [published]
6
6
7
+ concurrency :
8
+ group : release-${{ github.event.release.tag_name }}
9
+
7
10
jobs :
8
- build-and-publish :
11
+ build-and-publish-ext :
9
12
runs-on : ubuntu-latest
10
13
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
13
16
permissions :
14
17
id-token : write
15
18
steps :
@@ -22,16 +25,19 @@ jobs:
22
25
- uses : actions/checkout@v4
23
26
with :
24
27
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
28
31
32
+ with :
33
+ packages-dir : ext/dist/
29
34
30
- build-and-publish-ext :
35
+ build-and-publish :
31
36
runs-on : ubuntu-latest
37
+ needs : [build-and-publish-ext]
32
38
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
35
41
permissions :
36
42
id-token : write
37
43
steps :
44
50
- uses : actions/checkout@v4
45
51
with :
46
52
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
50
56
51
- with :
52
- packages-dir : ext/dist/
You can’t perform that action at this time.
0 commit comments