From 0cc7f7151ae7204eb9fdb58e2a826974f4e5f0f9 Mon Sep 17 00:00:00 2001 From: GigabiteStudios Date: Fri, 19 Jun 2026 18:21:04 -0500 Subject: [PATCH] fix(workflow): sync nested submodules in CI --- .gitea/workflows/windows-build.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/windows-build.yml b/.gitea/workflows/windows-build.yml index ccd1759..405b760 100644 --- a/.gitea/workflows/windows-build.yml +++ b/.gitea/workflows/windows-build.yml @@ -20,6 +20,12 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Sync submodules + run: | + git submodule sync --recursive + git submodule update --init --force --recursive + git submodule status --recursive + - name: Generate build names env: GITEA_SHA: ${{ gitea.sha }} @@ -119,6 +125,12 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Sync submodules + run: | + git submodule sync --recursive + git submodule update --init --force --recursive + git submodule status --recursive + - name: Generate build names env: GITEA_SHA: ${{ gitea.sha }} @@ -230,6 +242,12 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Sync submodules + run: | + git submodule sync --recursive + git submodule update --init --force --recursive + git submodule status --recursive + - name: Generate release names run: | short_sha="$(printf '%s' "$GITEA_SHA" | cut -c1-7)" @@ -398,4 +416,4 @@ jobs: -H "Authorization: token ${GITEA_TOKEN}" \ -F "attachment=@${asset}" \ "${api}/releases/${release_id}/assets?name=${asset_name}" - done \ No newline at end of file + done