From 08d033fe20e12cccbff8e43a02c673fe0d865f62 Mon Sep 17 00:00:00 2001 From: Paul Baksic <30337881+bakpaul@users.noreply.github.com> Date: Tue, 24 Dec 2024 05:06:03 +0100 Subject: [PATCH] [CI] Update workflow to match branch name (#161) * fix loading plugins (for registration) * Update macOS version for CI (#159) * Update ci.yml * Update ci.yml * [CI] Update workflow to match branch name * fix url to fetch regression --------- Co-authored-by: Frederick Roy Co-authored-by: Frederick Roy --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4a623a6..5ac334a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, macos-12, windows-2022] - sofa_branch: [master] + os: [ubuntu-22.04, macos-13, windows-2022] + sofa_branch: [v24.12] steps: - name: Setup SOFA and environment @@ -131,7 +131,7 @@ jobs: if [[ "$RUNNER_OS" != "macOS" ]]; then # Get regression from github releases mkdir -p "${{ runner.temp }}/regression_tmp/install" - curl --output "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -L https://github.com/sofa-framework/regression/releases/download/release-master/Regression_test_master_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip + curl --output "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -L https://github.com/sofa-framework/regression/releases/download/release-${{ matrix.sofa_branch }}/Regression_test_${{ matrix.sofa_branch }}_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip unzip -qq "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -d "${{ runner.temp }}/regression_tmp/install" # Install it in the SOFA bin directory $SUDO mv "${{ runner.temp }}"/regression_tmp/install/Regression_*/bin/* "${SOFA_ROOT}/bin"