-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use
.env
file to define MAG Data Visualization toolbox version
- Loading branch information
1 parent
92110dc
commit 9ae4fa0
Showing
4 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
MAG_DATA_VISUALIZATION_VERSION=6.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,19 +45,19 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
needs: test | ||
env: | ||
VERSION: "6.0.0" | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
- name: Set up MATLAB | ||
uses: matlab-actions/[email protected] | ||
with: | ||
release: R2023b | ||
- name: Load Environment Variables | ||
uses: aarcangeli/[email protected] | ||
- name: Package toolbox | ||
uses: matlab-actions/[email protected] | ||
with: | ||
tasks: package("${{ env.VERSION }}") | ||
tasks: package("${{ env.MAG_DATA_VISUALIZATION_VERSION }}") | ||
- name: Upload toolbox | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -67,6 +67,6 @@ jobs: | |
- name: Create release | ||
uses: ncipollo/[email protected] | ||
with: | ||
tag: v${{ env.VERSION }} | ||
tag: v${{ env.MAG_DATA_VISUALIZATION_VERSION }} | ||
artifacts: 'artifacts/MAG Data Visualization.mltbx' | ||
bodyFile: 'resources/release-notes.md' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ | |
# GitHub | ||
|
||
- Run tests also with MATLAB R2024b | ||
- Use `.env` file to define version (also in `mag.version`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters