From 46a241f6cd3d63d3937d134997f0e882ea8e334b Mon Sep 17 00:00:00 2001 From: Saleh Mir Date: Sat, 4 Jan 2025 22:16:55 +0330 Subject: [PATCH] fix? --- .github/workflows/python-package.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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'