File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Build app
22
33on :
44 push :
5- branches : main
65 tags :
76 - ' v*'
87
7978 -S nss-http \
8079 -B nss-http/build/Release \
8180 && make --directory=nss-http/build/Release package'
81+
82+ # ref: https://github.com/actions/create-release
83+ - name : Create release
84+ id : release
85+ uses : actions/create-release@v1
86+ env :
87+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
88+ with :
89+ tag_name : ${{ github.ref }}
90+ release_name : Release ${{ github.ref }}
91+
92+ # ref: https://github.com/actions/upload-release-asset
93+ - name : Upload release assets
94+ uses : actions/upload-release-asset@v1
95+ env :
96+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
97+ with :
98+ upload_url : ${{ steps.release.outputs.upload_url }}
99+ asset_path : ./build/Release/nss-http-1.0.0-Linux.deb
100+ asset_name : nss-http-1.0.0-Linux.deb
101+ asset_content_type : application/gzip
You can’t perform that action at this time.
0 commit comments