Skip to content

Commit

Permalink
forgot to add actual packaging command to workflow lol
Browse files Browse the repository at this point in the history
  • Loading branch information
sbashford committed Sep 20, 2023
1 parent 819d8d7 commit 096134f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get the version
- name: get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
- name: Set up MATLAB
- name: set up MATLAB
uses: matlab-actions/setup-matlab@v1
- name: package toolbox
uses: matlab-actions/run-command@v1
with:
command: package("v${{ steps.get_version.outputs.VERSION }}", "ihn-psych.mltbx")
- name: create GitHub release
run: |
gh release create v${{ steps.get_version.outputs.VERSION }} ihn-psych.mltbx
Expand Down

0 comments on commit 096134f

Please sign in to comment.