ruby-changes:58434
From: Kazuhiro <ko1@a...>
Date: Fri, 25 Oct 2019 10:46:36 +0900 (JST)
Subject: [ruby-changes:58434] a7ec88ad61 (master): Add `shell: cmd`
https://git.ruby-lang.org/ruby.git/commit/?id=a7ec88ad61 From a7ec88ad61eba8cda3f99805e6077cb515c0ad08 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Fri, 25 Oct 2019 10:45:46 +0900 Subject: 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. ``` diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 754afa6..bb1c290 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -43,16 +43,19 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L43 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@v... with: payload: | -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/