File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 55jobs :
66  build :
77    runs-on : ubuntu-latest 
8+     outputs :
9+       artifact-id : ${{ steps.upload-artifact.outputs.artifact-id }} 
810    steps :
911      - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8  #  v5.0.0
12+         with :
13+           persist-credentials : false 
1014      - uses : astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1  #  v6.5.0
1115        with :
1216          enable-cache : true 
@@ -17,17 +21,23 @@ jobs:
1721      - run : echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV 
1822      - run : uv build 
1923      - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02  #  v4.6.2
24+         id : upload-artifact 
2025        with :
21-           path : ./dist 
26+           name : dist 
27+           path : dist/ 
28+           if-no-files-found : error 
2229  create-release :
2330    needs : [build] 
2431    runs-on : ubuntu-latest 
2532    permissions :
2633      contents : write 
2734    steps :
2835      - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0  #  v5.0.0
36+         with :
37+           artifact-ids : ${{ needs.build.outputs.artifact-id }} 
38+           path : dist/ 
2939      - name : create release 
30-         run : gh release create --draft --repo ${{ github.repository }} ${{ github.ref_name }} artifact /* 
40+         run : gh release create --draft --repo ${{ github.repository }} ${{ github.ref_name }} dist /* 
3141        env :
3242          GH_TOKEN : ${{ github.token }} 
3343  publish-pypi :
4050      id-token : write 
4151    steps :
4252      - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0  #  v5.0.0
53+         with :
54+           artifact-ids : ${{ needs.build.outputs.artifact-id }} 
55+           path : dist/ 
4356      - uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc  #  v1.12.4
4457        with :
45-           packages-dir : artifact/ 
58+           packages-dir : " dist/ " 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments