File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 6565            git push origin --tags 
6666          } 
6767
68-    standard :
68+    release :
6969    name : Nu 
7070    needs : prepare 
7171    strategy :
@@ -181,6 +181,30 @@ jobs:
181181      env :
182182        GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
183183
184+   sha256sum :
185+     needs : release 
186+     name : Create Sha256sum 
187+     runs-on : ubuntu-latest 
188+     if : github.repository == 'nushell/nightly' 
189+     steps :
190+     - name : Download Release Archives 
191+       env :
192+         GH_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
193+       run : >- 
194+         gh release download ${{ github.ref_name }} 
195+         --repo ${{ github.repository }} 
196+         --pattern '*' 
197+         --dir release 
198+      - name : Create Checksums 
199+       run : cd release && shasum -a 256 * > ../SHA256SUMS 
200+     - name : Publish Checksums 
201+ 202+       with :
203+         draft : true 
204+         files : SHA256SUMS 
205+       env :
206+         GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
207+ 
184208  cleanup :
185209    name : Cleanup 
186210    #  Should only run in nushell/nightly repo
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments