From b5674f9336d1c6cdaeabe62e51b97fa6efb28b20 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 21 Sep 2022 09:57:04 +0200 Subject: [PATCH] Juggling with workflow --- .github/workflows/flathub_push_cooker.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flathub_push_cooker.yml b/.github/workflows/flathub_push_cooker.yml index 338f1244..58d477bf 100644 --- a/.github/workflows/flathub_push_cooker.yml +++ b/.github/workflows/flathub_push_cooker.yml @@ -58,14 +58,18 @@ jobs: 'net.retrodeck.retrodeck.yml' \ 'README.md' \ $gits_folder/flathub/ - cd $gits_folder/flathub - rm -rf .git/modules/* + cd $gits_folder/flathub + rm -rfv .git/modules/* # Adding the real submodules, please update this every time a submodule is added - git rm -rf shared-modules + if [ -d shared-modules ]; then + git rm -rfv shared-modules + fi git submodule add https://github.com/flathub/shared-modules.git shared-modules - git rm -rf rd-submodules/retroarch + if [ -d rd-submodules/retroarch ]; then + git rm -rfv rd-submodules/retroarch + fi git submodule add https://github.com/flathub/org.libretro.RetroArch.git rd-submodules/retroarch # unbinds all submodules