From b678ce147a35fa6af6a8efdaace26880fdfbcf79 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 21 Sep 2022 10:00:21 +0200 Subject: [PATCH] Juggling with workflow --- .github/workflows/flathub_push_cooker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flathub_push_cooker.yml b/.github/workflows/flathub_push_cooker.yml index b146e2ea..a204c5c1 100644 --- a/.github/workflows/flathub_push_cooker.yml +++ b/.github/workflows/flathub_push_cooker.yml @@ -60,7 +60,9 @@ jobs: $gits_folder/flathub/ cd $gits_folder/flathub - rm -rfv .git/modules/* + if [ -d .git/modules ]; then + rm -rfv .git/modules/* + fi # Adding the real submodules, please update this every time a submodule is added if [ -d shared-modules ]; then git rm -rf shared-modules