Skip to content

Commit

Permalink
- update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Oct 7, 2024
1 parent 24a217e commit 3891737
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/extensive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,20 @@ jobs:
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: seanmiddleditch/gha-setup-ninja@master

- name: Add msbuild to PATH (Windows)
if: matrix.platform == 'windows-latest'
uses: ilammy/msvc-dev-cmd@v1.6.0
uses: ilammy/msvc-dev-cmd@v1

### configure the operating system ###
- name: Cache Windows dependencies and SWIG
# On Windows, the dependencies live inside the source folder, ie `.`.
# For the CI, we put SWIG there too, for simplicity.
if: matrix.platform == 'windows-latest'
id: cache-win-dependencies-static
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
./dependencies
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
echo "COMPILER_LAUNCHER=ccache" >> "${GITHUB_ENV}"
- name: cache ccache files
if: matrix.platform != 'windows-latest'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{runner.workspace}}/.ccache
key:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: seanmiddleditch/gha-setup-ninja@master

- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
uses: matlab-actions/setup-matlab@v2
# with:
# release: ${{ env.MATLAB_VERSION }}

Expand Down Expand Up @@ -58,6 +58,6 @@ jobs:
cmake --build . --config Debug --target matlab_binding_OutputSBML
- name: Run Test
uses: matlab-actions/run-command@v1
uses: matlab-actions/run-command@v2
with:
command: cd('../build/src/bindings/matlab/test'); runTests

0 comments on commit 3891737

Please sign in to comment.