File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 42
42
" release_name " : " ${{ github.ref }}" ,
43
43
},
44
44
},
45
+ {
46
+ " name " : " Ugh" ,
47
+ " id " : " ugh" ,
48
+ " run " : " echo \" ::set-output name=basename::`ls tag_build/*.tar.gz | awk -F/ '{print $2}'`\" "
49
+ },
45
50
{
46
51
" name " : " Upload release tarball" ,
47
52
" uses " : " actions/upload-release-asset@v1" ,
48
53
" env " : { "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" },
49
54
" with " : {
50
55
" 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" ,
52
59
},
53
60
},
54
61
{
57
64
" env " : { "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" },
58
65
" with " : {
59
66
" 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" ,
61
70
},
62
71
},
63
72
],
You can’t perform that action at this time.
0 commit comments