From 7c5e03cf23de53603b72322de86183b36ec8584b Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Fri, 25 Jun 2021 16:47:12 -0300 Subject: [PATCH] Trying to fix Github actions 5. --- .github/workflows/windows-msys.yml | 1 + ports/ci/windows-vs/deploy.bat | 9 +-------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/windows-msys.yml b/.github/workflows/windows-msys.yml index 6e07a30..d4300d7 100644 --- a/.github/workflows/windows-msys.yml +++ b/.github/workflows/windows-msys.yml @@ -9,6 +9,7 @@ jobs: run: shell: msys2 {0} steps: + - uses: actions/checkout@v2 - uses: msys2/setup-msys2@v2 with: update: true diff --git a/ports/ci/windows-vs/deploy.bat b/ports/ci/windows-vs/deploy.bat index e836b84..289a70f 100644 --- a/ports/ci/windows-vs/deploy.bat +++ b/ports/ci/windows-vs/deploy.bat @@ -17,13 +17,6 @@ REM REM Web-Site: http://webcamoid.github.io/ set SOURCES_DIR=%cd% - -if "%PLATFORM%" == "x86" ( - set PYTHON_PATH=C:\%PYTHON_VERSION% -) else ( - set PYTHON_PATH=C:\%PYTHON_VERSION%-x64 -) - set INSTALL_PREFIX=%SOURCES_DIR%\webcamoid-data set PACKAGES_DIR=%SOURCES_DIR%\webcamoid-packages @@ -31,7 +24,7 @@ git clone https://github.com/webcamoid/DeployTools.git set PYTHONPATH=%cd%\DeployTools set BUILD_PATH=%cd%\build-x64 -%PYTHON_PATH%\python.exe DeployTools\deploy.py ^ +python DeployTools\deploy.py ^ -d "%INSTALL_PREFIX%" ^ -c "%BUILD_PATH%\package_info.conf" ^ -o "%PACKAGES_DIR%"