Skip to content

Commit

Permalink
Update to new versions of Github CI actions
Browse files Browse the repository at this point in the history
- actions/checkout@v3 --> v4
- actions/cache@v3 --> v4
- matlab-actions/setup-matlab@v1 --> v2
- MATPOWER/action-configure-matlab@v1 --> v2
  • Loading branch information
rdzman committed Feb 2, 2024
1 parent fdd7dfe commit 6042b82
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Include IPOPT?
if: matrix.platform == 'matlab' || matrix.os != 'ubuntu-16.04'
Expand All @@ -37,7 +37,7 @@ jobs:
id: cache-ipopt-libs
env:
cache-name: ipopt-libs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/install
key: ${{ env.cache-name }}-${{ matrix.os }}
Expand All @@ -51,7 +51,7 @@ jobs:
id: cache-ipopt
env:
cache-name: ipopt
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/build/ipopt
key: ${{ env.cache-name }}-${{ matrix.platform }}-${{ matrix.os }}
Expand All @@ -61,7 +61,7 @@ jobs:
id: cache-osqp
env:
cache-name: osqp
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/build/osqp-matlab
key: ${{ env.cache-name }}-${{ matrix.platform }}-${{ matrix.os }}
Expand All @@ -78,11 +78,11 @@ jobs:

- name: Install MATLAB
if: matrix.platform == 'matlab'
uses: matlab-actions/setup-matlab@v1
uses: matlab-actions/setup-matlab@v2

- name: Configure MATLAB
if: matrix.platform == 'matlab'
uses: MATPOWER/action-configure-matlab@v1
uses: MATPOWER/action-configure-matlab@v2
with:
os: ${{ matrix.os }}
ipopt: ${{ env.INCLUDE_IPOPT == 1 }}
Expand Down

0 comments on commit 6042b82

Please sign in to comment.