File tree Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 11name : Build Wheel and Release 
22on :
3+   pull_request :
4+     branches :
5+       - main 
36  push :
47    tags :
58      - v* 
69
710jobs :
8-   pypi-publish :
9-     name : upload release to PyPI 
10-     if : github.repository_owner == 'numpy' && startsWith(github.ref, 'refs/tags/v') && github.actor == 'jarrodmillman' && always() 
11+   sdist_wheel :
12+     name : sdist and wheels 
1113    runs-on : ubuntu-latest 
12-     #  Specifying a GitHub environment is optional, but strongly encouraged
13-     environment : release 
14-     permissions :
15-       #  IMPORTANT: this permission is mandatory for trusted publishing
16-       id-token : write 
1714    steps :
1815      - uses : actions/checkout@v4 
1916        with :
2017          fetch-depth : 0 
21- 
2218      - uses : actions/setup-python@v5 
23-         name : Install Python 
2419        with :
2520          python-version : " 3.12" 
26- 
2721      - name : Build wheels 
2822        run : | 
2923          git clean -fxd 
3024          pip install -U build twine wheel 
3125          python -m build --sdist --wheel 
26+        - run : twine check --strict dist/* 
27+       - uses : actions/upload-artifact@v4 
28+         with :
29+           name : dist 
30+           path : dist 
3231
33-        - name : Publish package distributions to PyPI 
34-         uses : pypa/gh-action-pypi-publish@release/v1 
32+   pypi-publish :
33+     needs : sdist_wheel 
34+     name : upload release to PyPI 
35+     if : github.repository_owner == 'numpy' && startsWith(github.ref, 'refs/tags/v') && github.actor == 'jarrodmillman' && always() 
36+     runs-on : ubuntu-latest 
37+     #  Specifying a GitHub environment is optional, but strongly encouraged
38+     environment : release 
39+     permissions :
40+       #  IMPORTANT: this permission is mandatory for trusted publishing
41+       id-token : write 
42+     steps :
43+       - uses : actions/download-artifact@v4 
44+         with :
45+           name : dist 
46+           path : dist 
47+       - uses : pypa/gh-action-pypi-publish@release/v1 
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ numpydoc -- Numpy's Sphinx extensions
44
55.. image :: https://readthedocs.org/projects/numpydoc/badge/?version=latest 
66   :alt:  Documentation Status 
7-    :scale:  100%  
87   :target:  https://numpydoc.readthedocs.io/en/latest/ 
98
109.. image :: https://codecov.io/gh/numpy/numpydoc/branch/main/graph/badge.svg 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments