Skip to content

Commit 6e2cb19

Browse files
authored
Update regression URL in CI workflow
1 parent 30a4d8b commit 6e2cb19

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ jobs:
137137
if [[ "$RUNNER_OS" != "macOS" ]]; then
138138
# Get regression from github releases
139139
mkdir -p "${{ runner.temp }}/regression_tmp/install"
140-
curl --output "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -L https://github.com/sofa-framework/regression/releases/download/release-${{ steps.sofa.outputs.sofa_version }}/Regression_test_${{ steps.sofa.outputs.sofa_version }}_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip
140+
export REGRESSION_URL="https://github.com/sofa-framework/regression/releases/download/release-${{ steps.sofa.outputs.run_branch }}/Regression_test_${{ steps.sofa.outputs.run_branch }}_for-SOFA-${{ steps.sofa.outputs.run_branch }}_${RUNNER_OS}.zip"
141+
curl --output "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -L ${REGRESSION_URL}
141142
unzip -qq "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -d "${{ runner.temp }}/regression_tmp/install"
142143
# Install it in the SOFA bin directory
143144
$SUDO mv "${{ runner.temp }}"/regression_tmp/install/Regression_*/bin/* "${SOFA_ROOT}/bin"

0 commit comments

Comments
 (0)