diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index e132c425a..d95b127d3 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -62,15 +62,16 @@ jobs: ~/.local/ta-lib/lib ~/.local/ta-lib/include key: talib-cache-v0.4.0 + - name: Setup MSBuild + if: runner.os == 'Windows' + uses: microsoft/setup-msbuild@v1.1.2 + - name: Install Visual Studio Build Tools if: runner.os == 'Windows' + shell: cmd run: | curl -L -o vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe - vs_buildtools.exe --quiet --wait --norestart --nocache --installPath "C:\BuildTools" --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 - - - name: Setup MSBuild - if: runner.os == 'Windows' - uses: microsoft/setup-msbuild@v1.1 + .\vs_buildtools.exe --quiet --wait --norestart --nocache --installPath "C:\BuildTools" --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 - name: Install ta-lib Windows if: runner.os == 'Windows'