File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ jobs:
1818 path : opentelemetry-matlab
1919 - name : Install compiler and other tools
2020 run : apt update && apt install -y build-essential git curl pkg-config zip python3 ninja-build
21- - name : Install CMake 4.1.2
21+ - name : Install CMake
22+ env :
23+ MY_CMAKE_VERSION : 4.1.2
2224 run : |
23- curl -LO https://github.com/Kitware/CMake/releases/download/v4.1.2/cmake-4.1.2-linux-x86_64.tar.gz
24- tar -xvzf cmake-4.1.2-linux-x86_64.tar.gz
25- echo "$GITHUB_WORKSPACE/cmake-4.1.2-linux-x86_64/bin" >> "$GITHUB_PATH"
26- ls
27- cmake-4.1.2-linux-x86_64/bin/cmake --version
25+ curl -LO https://github.com/Kitware/CMake/releases/download/v$MY_CMAKE_VERSION/cmake-$MY_CMAKE_VERSION-linux-x86_64.tar.gz
26+ tar -xvzf cmake-$MY_CMAKE_VERSION-linux-x86_64.tar.gz
27+ echo "$GITHUB_WORKSPACE/cmake-$MY_CMAKE_VERSION-linux-x86_64/bin" >> "$GITHUB_PATH"
2828 - name : Install MATLAB
2929 uses : matlab-actions/setup-matlab@v2
3030 with :
You can’t perform that action at this time.
0 commit comments