matlab-actions / setup-matlab

Set up your GitHub Actions workflow with a specific version of MATLAB.
BSD 3-Clause "New" or "Revised" License
76 stars 10 forks source link

Improve sidebar example copy-and-paste experience #44

Open mcafaro opened 2 years ago

mcafaro commented 2 years ago

GitHub shows a snippet of code to copy-and-paste when you search for this action in the marketplace sidebar while configuring a workflow.

Screen Shot 2022-10-10 at 9 15 46 AM

Unfortunately the snippet of code they show will fail to work because the release input is empty.

I do not believe we can control what GitHub shows in this snippet, but perhaps we can modify how the release input is defined to improve this copy-and-paste experience. Or, at the very least, we can improve the error message that occurs when a user runs their YAML with release empty.