From 1ddbfe21590030525b4ec357a8f2402f2d0bf450 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sat, 2 Oct 2021 11:11:49 +0300 Subject: [PATCH] mswin gh actions #28: fix command --- .github/workflows/windows-x64.yml | 3 --- .github/workflows/windows-x86.yml | 3 --- fc-solve/CI-testing/translate-travis.yml-to-github-actions.py | 2 ++ 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows-x64.yml b/.github/workflows/windows-x64.yml index 029e741c7..3b4767730 100644 --- a/.github/workflows/windows-x64.yml +++ b/.github/workflows/windows-x64.yml @@ -63,9 +63,6 @@ jobs: if not exist C:\libtap mkdir C:\libtap || ( echo Failed & exit /B 1 ) - copy c:\Python35-x64\python.exe c:\Python35-x64\python3.exe || ( echo - Failed & exit /B 1 ) - python3 -mpip install %PY3MODS% || ( echo Failed & exit /B 1 ) perl -v || ( echo Failed & exit /B 1 ) diff --git a/.github/workflows/windows-x86.yml b/.github/workflows/windows-x86.yml index 6244a8e6a..e03507429 100644 --- a/.github/workflows/windows-x86.yml +++ b/.github/workflows/windows-x86.yml @@ -63,9 +63,6 @@ jobs: if not exist C:\libtap mkdir C:\libtap || ( echo Failed & exit /B 1 ) - copy c:\Python35-x64\python.exe c:\Python35-x64\python3.exe || ( echo - Failed & exit /B 1 ) - python3 -mpip install %PY3MODS% || ( echo Failed & exit /B 1 ) perl -v || ( echo Failed & exit /B 1 ) diff --git a/fc-solve/CI-testing/translate-travis.yml-to-github-actions.py b/fc-solve/CI-testing/translate-travis.yml-to-github-actions.py index 03d33cc77..5a4933935 100644 --- a/fc-solve/CI-testing/translate-travis.yml-to-github-actions.py +++ b/fc-solve/CI-testing/translate-travis.yml-to-github-actions.py @@ -184,6 +184,8 @@ def _calc_batch_code(cmds): nonlocal cpanm_step cpanm_step['with'] = {"install": "\n".join(dw), } continue + if re.search("copy.*?python\\.exe", cmd): + continue if "choco install strawberryperl" not in cmd: if 0: r = re.sub(