Skip to content

Commit

Permalink
fix authentication when publishing release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpo committed Mar 2, 2024
1 parent 6409673 commit 31139e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish_mltbx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ jobs:
run: zip otel-matlab-${{ github.event.release.tag_name }}.mltbx.zip otel-matlab.mltbx
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://uploads.github.com/repos/mathworks/OpenTelemetry-Matlab/releases/${{ github.event.release.id }}/assets{?name,label}`
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./otel-matlab-${{ github.event.release.tag_name }}.mltbx.zip
asset_name: otel-matlab-${{ github.event.release.tag_name }}.mltbx.zip
asset_content_type: application/zip

0 comments on commit 31139e7

Please sign in to comment.