File tree Expand file tree Collapse file tree 1 file changed +26
-12
lines changed
Expand file tree Collapse file tree 1 file changed +26
-12
lines changed Original file line number Diff line number Diff line change 11name : " Publish mltbx"
2- on :
2+ on :
33 workflow_dispatch :
4- release :
5- types : published
4+ push :
5+ tags :
6+ - ' *'
7+ # on:
8+ # workflow_dispatch:
9+ # release:
10+ # types: published
611jobs :
712 build-ubuntu :
813 # Running on ubuntu-latest would use a glibc version that is incompatible when using the built mex files on a Debian 11
@@ -137,12 +142,21 @@ jobs:
137142 uses : matlab-actions/run-command@v1
138143 with :
139144 command : packageMatlabInterface
140- - name : Upload Release Asset
141- uses : actions/upload-release-asset@v1
142- env :
143- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
144- with :
145- upload_url : ${{ github.event.release.upload_url }}
146- asset_path : ./otel-matlab.mltbx
147- asset_name : otel-matlab.mltbx
148- asset_content_type : application/octet-stream
145+ # - name: Upload Release Asset
146+ # uses: actions/upload-release-asset@v1
147+ # env:
148+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
149+ # with:
150+ # upload_url: ${{ github.event.release.upload_url }}
151+ # asset_path: ./otel-matlab.mltbx
152+ # asset_name: otel-matlab.mltbx
153+ # asset_content_type: application/octet-stream
154+ - name : Create release
155+ uses : softprops/action-gh-release@v2
156+ with :
157+ files : ./otel-matlab.mltbx
158+ fail_on_unmatched_files : true
159+ generate_release_notes : false
160+ prerelease : false
161+ make_latest : false
162+ draft : true
You can’t perform that action at this time.
0 commit comments