diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 526ed4c..af0e840 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest,windows-latest,macos-latest,macos-14] + os: [ubuntu-20.04,windows-2019,macos-12,macos-14] steps: - name: Retrieve the source code uses: actions/checkout@v4 @@ -23,7 +23,7 @@ jobs: - name: Install MATLAB uses: matlab-actions/setup-matlab@v2 with: - release: ${{ matrix.os == 'macos-14' && 'R2023b' || ( matrix.os == 'windows-latest' && 'R2021b' || 'R2021a' ) }} + release: ${{ matrix.os == 'macos-14' && 'R2023b' || ( matrix.os == 'windows-2019' && 'R2021b' || 'R2021a' ) }} - name: Build MATLAB MEX files uses: matlab-actions/run-command@v2 with: @@ -43,7 +43,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest,windows-latest,macos-latest,macos-14] + os: [ubuntu-20.04,windows-2019,macos-12,macos-14] steps: - name: Retrieve the source code uses: actions/checkout@v4