From 8a8927c8e8e5be3ee186241a3e84f9a0670ca891 Mon Sep 17 00:00:00 2001 From: datadunia Date: Wed, 6 May 2026 16:21:55 +0700 Subject: [PATCH] fix: submodule checkout with token auth --- .gitea/workflows/release.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 61a7e74..914a843 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -18,12 +18,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 - with: - submodules: true - fetch-depth: 0 - - name: Update submodules - run: git submodule update --init --recursive + - name: Checkout submodules with auth + run: | + git submodule init + git submodule set-url app "https://${{ gitea.actor }}:${{ gitea.token }}@git.datadunia.com/hainzero/WGRplane.git" + git submodule update --init --recursive - name: Debug - List app directory run: ls -la app/ @@ -64,12 +64,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 - with: - submodules: true - fetch-depth: 0 - - name: Update submodules - run: git submodule update --init --recursive + - name: Checkout submodules with auth + run: | + git submodule init + git submodule set-url app "https://${{ gitea.actor }}:${{ gitea.token }}@git.datadunia.com/hainzero/WGRplane.git" + git submodule update --init --recursive - name: Download all artifacts uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093