Skip to content

Commit bc74c47

Browse files
committed
[ci] Fix Regression url zip for releases, not for master
1 parent cf532e9 commit bc74c47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ 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-master/Regression_test_master_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip
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
141141
unzip -qq "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -d "${{ runner.temp }}/regression_tmp/install"
142142
# Install it in the SOFA bin directory
143143
$SUDO mv "${{ runner.temp }}"/regression_tmp/install/Regression_*/bin/* "${SOFA_ROOT}/bin"

0 commit comments

Comments
 (0)