File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 1- name : " Publish"
1+ name : " Publish mltbx "
22on :
33 workflow_dispatch :
4- push :
5- branches :
6- - package
4+ release :
5+ types : published
76jobs :
87 build-ubuntu :
98 # Running on ubuntu-latest would use a glibc version that is incompatible when using the built mex files on a Debian 11
@@ -124,8 +123,12 @@ jobs:
124123 uses : matlab-actions/run-command@v1
125124 with :
126125 command : packageMatlabInterface
127- - name : Upload artifacts
128- uses : actions/upload-artifact@v2
126+ - name : Compress Asset
127+ run : zip otel-matlab-${{ github.event.release.tag_name }}.mltbx.zip otel-matlab.mltbx
128+ - name : Upload Release Asset
129+ uses : actions/upload-release-asset@v1
129130 with :
130- name : otel-matlab.mltbx
131- path : otel-matlab.mltbx
131+ upload_url : https://uploads.github.com/repos/mathworks/OpenTelemetry-Matlab/releases/${{ github.event.release.id }}/assets{?name,label}`
132+ asset_path : ./otel-matlab-${{ github.event.release.tag_name }}.mltbx.zip
133+ asset_name : otel-matlab-${{ github.event.release.tag_name }}.mltbx.zip
134+ asset_content_type : application/zip
Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ Requires MATLAB release R2022b or newer
2020## Installation
2121Installation instructions
2222
23+ ### Installing With Toolbox Package
24+ 1 . Under "Assets" of a release, download the toolbox package .mltbx file.
25+ 2 . Start MATLAB.
26+ 3 . In the Current Folder browser, navigate to the .mltbx file.
27+ 4 . Right click on the .mltbx file and select "Install".
28+
29+ ### Building From Source
2330Before proceeding, ensure that the below products are installed:
2431* [ MATLAB] ( https://www.mathworks.com/products/matlab.html )
2532
You can’t perform that action at this time.
0 commit comments