From beb05b602fac740e6519cc3e2d019e33b75e96cc Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Tue, 11 Apr 2023 15:52:36 +0100 Subject: [PATCH] only run setup if it is there --- actions/install-spinn-deps/action.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/actions/install-spinn-deps/action.yml b/actions/install-spinn-deps/action.yml index b3cc2c0..7d1ddd1 100644 --- a/actions/install-spinn-deps/action.yml +++ b/actions/install-spinn-deps/action.yml @@ -42,9 +42,11 @@ runs: pip install ./$repo echo "::endgroup::" else - echo "::group::Setting up $repo" - (cd $repo && exec python setup.py develop) - echo "::endgroup::" + if [ -f "$repo/setup.py" ]; then + echo "::group::Setting up $repo" + (cd $repo && exec python setup.py develop) + echo "::endgroup::" + fi fi done fi