File tree 1 file changed +25
-1
lines changed
1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 65
65
git push origin --tags
66
66
}
67
67
68
- standard :
68
+ release :
69
69
name : Nu
70
70
needs : prepare
71
71
strategy :
@@ -181,6 +181,30 @@ jobs:
181
181
env :
182
182
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
183
183
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
+ uses : softprops/action-gh-release@v2.0.8
202
+ with :
203
+ draft : true
204
+ files : SHA256SUMS
205
+ env :
206
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
207
+
184
208
cleanup :
185
209
name : Cleanup
186
210
# Should only run in nushell/nightly repo
You can’t perform that action at this time.
0 commit comments