Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 2882bb4

Browse files
committed
fix(ci-windows): Update cmd as shell
1 parent 0b08e1c commit 2882bb4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ jobs:
268268
269269
- name: Build
270270
id: cmake_build
271+
shell: cmd
271272
run: |
272273
cmake -S ./nitro_deps -B ./build_deps/nitro_deps
273274
cmake --build ./build_deps/nitro_deps --config Release
@@ -284,11 +285,12 @@ jobs:
284285
cp $env:RUNNER_TEMP/OpenBLAS.LICENSE.txt ./build/Release/OpenBLAS-${env:OPENBLAS_VERSION}.txt
285286
286287
- name: Extract branch name
287-
shell: bash
288+
shell: cmd
288289
id: extract_branch
289290
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
290291

291292
- name: Extract commit short SHA
293+
shell: cmd
292294
id: extract_commit_id
293295
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
294296

@@ -338,6 +340,7 @@ jobs:
338340

339341
- name: Build
340342
id: cmake_build
343+
shell: cmd
341344
run: |
342345
cmake -S ./nitro_deps -B ./build_deps/nitro_deps
343346
cmake --build ./build_deps/nitro_deps --config Release
@@ -347,11 +350,12 @@ jobs:
347350
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}
348351
349352
- name: Extract branch name
350-
shell: bash
353+
shell: cmd
351354
id: extract_branch
352355
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
353356

354357
- name: Extract commit short SHA
358+
shell: cmd
355359
id: extract_commit_id
356360
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
357361

0 commit comments

Comments
 (0)