From 38917371a274199238f49289920283370bd39a32 Mon Sep 17 00:00:00 2001 From: "Frank T. Bergmann" Date: Mon, 7 Oct 2024 09:59:01 +0200 Subject: [PATCH] - update actions --- .github/workflows/extensive.yml | 8 ++++---- .github/workflows/matlab.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/extensive.yml b/.github/workflows/extensive.yml index 8053c8e2d4..9e989ed9f5 100644 --- a/.github/workflows/extensive.yml +++ b/.github/workflows/extensive.yml @@ -80,12 +80,12 @@ 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 @@ -93,7 +93,7 @@ jobs: # 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 @@ -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: diff --git a/.github/workflows/matlab.yml b/.github/workflows/matlab.yml index 4da20d8971..a2d90d57c7 100644 --- a/.github/workflows/matlab.yml +++ b/.github/workflows/matlab.yml @@ -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 }} @@ -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