I can't figure this out or find much documentation pertaining to it. Locally, I run
Code:
git clone --recurse-submodules https://github.com/jorio/Bugdom
to get my source & 2 submodules. Is there a way to have AppImage.yml download the source, so I don't have to create a tarball for each build?

app: Bugdom

# resources required at build time
build:
packages:
- SDL2-devel
- cmake
- glibc >= 2.2.5
- pkgconfig
- pkgconfig(gl)
- pkgconfig(glu)
- gcc-c++
git:
- https://github.com/jorio/Bugdom.git
- https://github.com/jorio/Quesa.git
- https://github.com/jorio/Pomme.git

script:
# - git clone --recurse-submodules https://github.com/jorio/Bugdom
- cd $BUILD_SOURCE_DIR/Bugdom
# - cd $BUILD_SOURCE_DIR
# - tar -xvzf Bugdom.tar.gz
# - cd Bugdom
- mkdir build
- cmake -S . -B build-release -DCMAKE_BUILD_TYPE=Release
- cmake --build build-release
- mkdir -p $BUILD_APPDIR/usr/share/{pixmaps,applications/}
- mkdir -p $BUILD_APPDIR/usr/lib/Bugdom/
- mkdir -p $BUILD_APPDIR/usr/bin
- mkdir -p $BUILD_APPDIR/usr/share/icons/hicolor/32x32/apps/
- mkdir -p $BUILD_APPDIR/usr/share/icons/hicolor/512x512/apps/
- echo -e '#!/usr/bin/sh\n\ncd "$(dirname "$(readlink -f "$0")")"/../lib/Bugdom/;./Bugdom' > $BUILD_APPDIR/usr/bin/Bugdom.sh
- chmod 0755 $BUILD_APPDIR/usr/bin/Bugdom.sh
- mv build-release/{Data,Bugdom} $BUILD_APPDIR/usr/lib/Bugdom
- cp cmake/Bugdom512.png $BUILD_APPDIR/usr/share/icons/hicolor/512x512/apps/Bugdom.png
- cp cmake/Bugdom512.png $BUILD_APPDIR/Bugdom.png
- cp $BUILD_APPDIR/Bugdom.png $BUILD_APPDIR/usr/share/pixmaps/Bugdom.png
- echo -e "[Desktop Entry]\nName=Bugdom\nGenericName=Bugdom\nComment=Save Bugdom from Thorax's evil Fire Ants\nExec=Bugdom.sh\nIcon=Bugdom\nTerminal=false\nType=Application\nCategories=Game;ArcadeGame;ActionGame;\nStartupNotify=false\n" > $BUILD_APPDIR/Bugdom.desktop
- cp $BUILD_APPDIR/Bugdom.desktop $BUILD_APPDIR/usr/share/applications/Bugdom.desktop