File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 4242 " release_name " : " ${{ github.ref }}" ,
4343 },
4444 },
45+ {
46+ " name " : " Ugh" ,
47+ " id " : " ugh" ,
48+ " run " : " echo \" ::set-output name=basename::`ls tag_build/*.tar.gz | awk -F/ '{print $2}'`\" "
49+ },
4550 {
4651 " name " : " Upload release tarball" ,
4752 " uses " : " actions/upload-release-asset@v1" ,
4853 " env " : { "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" },
4954 " with " : {
5055 " upload_url " : " ${{ steps.cr.outputs.upload_url }}" ,
51- " asset_path " : " tag_build/*.tar.gz" ,
56+ " asset_path " : " tag_build/${{ steps.ugh.outputs.basename }}" ,
57+ " asset_name " : " ${{ steps.ugh.outputs.basename }}" ,
58+ " asset_content_type " : " application/octet-stream" ,
5259 },
5360 },
5461 {
5764 " env " : { "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" },
5865 " with " : {
5966 " upload_url " : " ${{ steps.cr.outputs.upload_url }}" ,
60- " asset_path " : " tag_build/*.sha*" ,
67+ " asset_path " : " tag_build/${{ steps.ugh.outputs.basename }}.sha512sum" ,
68+ " asset_name " : " ${{ steps.ugh.outputs.basename }}.sha512sum" ,
69+ " asset_content_type " : " text/plain" ,
6170 },
6271 },
6372 ],
You can’t perform that action at this time.
0 commit comments