aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-10-25 10:45:46 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-10-25 10:45:46 +0900
commita7ec88ad61eba8cda3f99805e6077cb515c0ad08 (patch)
treed03df43e53764dd1c881030641ab40d2eb699353 /.github
parent7bcc639c720b59eb2199601963bcfa720168185b (diff)
downloadruby-a7ec88ad61eba8cda3f99805e6077cb515c0ad08.tar.gz
Add `shell: cmd`
Use cmd instead of new default shell for `call`. https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell/ https://github.com/ruby/ruby/commit/7bcc639c720b59eb2199601963bcfa720168185b/checks#step:6:5 ``` call : The term 'call' is not recognized as the name of a cmdlet, function, script file, or operable program. ```
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 754afa6974..bb1c290735 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -43,16 +43,19 @@ jobs:
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
win32/configure.bat --disable-install-doc --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows
+ shell: cmd
- name: nmake
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
set YACC=win_bison
nmake up
nmake
+ shell: cmd
- name: nmake test
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
nmake ${{ matrix.test_task }}
+ shell: cmd
- uses: k0kubun/action-slack@v2.0.0
with:
payload: |