Skip to content

Commit

Permalink
fix(ci-windows): Update cmd as shell
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Oct 8, 2023
1 parent 0b08e1c commit 2882bb4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ jobs:
- name: Build
id: cmake_build
shell: cmd
run: |
cmake -S ./nitro_deps -B ./build_deps/nitro_deps
cmake --build ./build_deps/nitro_deps --config Release
Expand All @@ -284,11 +285,12 @@ jobs:
cp $env:RUNNER_TEMP/OpenBLAS.LICENSE.txt ./build/Release/OpenBLAS-${env:OPENBLAS_VERSION}.txt
- name: Extract branch name
shell: bash
shell: cmd
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"

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

Expand Down Expand Up @@ -338,6 +340,7 @@ jobs:

- name: Build
id: cmake_build
shell: cmd
run: |
cmake -S ./nitro_deps -B ./build_deps/nitro_deps
cmake --build ./build_deps/nitro_deps --config Release
Expand All @@ -347,11 +350,12 @@ jobs:
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}
- name: Extract branch name
shell: bash
shell: cmd
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"

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

Expand Down

0 comments on commit 2882bb4

Please sign in to comment.