Skip to content

Commit bf3c13f

Browse files
committed
[ci] Use generic syntax for var expansion
1 parent 1ba1a4f commit bf3c13f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ jobs:
8888
run: echo "CXX=${{matrix.compiler}}" >> $GITHUB_ENV
8989

9090
- name: Configure CMake
91-
run: cmake -Wdev -Werror=dev -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
91+
run: cmake -Wdev -Werror=dev -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
9292
${{matrix.extra_build_flags}}
9393

9494
- name: Build
9595
working-directory: ${{github.workspace}}/build
96-
run: cmake --build . --config ${BUILD_TYPE} --parallel ${num_cpus}
96+
run: cmake --build . --config ${{env.BUILD_TYPE}} --parallel ${{env.num_cpus}}
9797

9898
- name: Test
9999
working-directory: ${{github.workspace}}/build

0 commit comments

Comments
 (0)