try to fix python call in jobs
diff --git a/.github/workflows/gds.yaml b/.github/workflows/gds.yaml index 695d200..66d164c 100644 --- a/.github/workflows/gds.yaml +++ b/.github/workflows/gds.yaml
@@ -43,7 +43,7 @@ # fetch the repos - name: fetch all - run: ./configure.py --clone-all --debug + run: python ./configure.py --clone-all --debug # pwd debug - name: show projects @@ -51,7 +51,7 @@ # install projects - name: configure - run: ./configure.py --update-caravel + run: python ./configure.py --update-caravel - name: user project wrapper GDS run: make user_project_wrapper
diff --git a/.github/workflows/reharden_all.yaml b/.github/workflows/reharden_all.yaml index f58d503..c7078ba 100644 --- a/.github/workflows/reharden_all.yaml +++ b/.github/workflows/reharden_all.yaml
@@ -43,8 +43,8 @@ # fetch the repos - name: fetch all - run: ./configure.py --clone-all --debug + run: python ./configure.py --clone-all --debug # harden all - name: reharden - run: ./configure.py --harden + run: python ./configure.py --harden
diff --git a/configure.py b/configure.py index 103cf0f..6f28f8f 100755 --- a/configure.py +++ b/configure.py
@@ -255,8 +255,8 @@ cwd = os.getcwd() os.chdir(self.local_dir) - # setup user config - configure_cmd = './configure.py --create-user-config' + # setup user config, not including python fails on github action + configure_cmd = 'python ./configure.py --create-user-config' p = subprocess.run(configure_cmd, shell=True) if p.returncode != 0: logging.error(f"configure failed")