From b6b47a014b9c1d97393e0bddb8f95baa32c4a3ed Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 1 Oct 2024 17:09:16 +0200 Subject: [PATCH] Use github for gnulib --- .github/workflows/GnuTests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index 4601049aee..b1fce22f22 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -75,7 +75,16 @@ jobs: repository: 'coreutils/coreutils' path: '${{ steps.vars.outputs.path_GNU }}' ref: ${{ steps.vars.outputs.repo_GNU_ref }} - submodules: recursive + submodules: false + + - name: Override submodule URL and initialize submodules + # Use github instead of upstream git server + run: | + git submodule sync --recursive + git config submodule.gnulib.url https://github.com/coreutils/gnulib.git + git submodule update --init --recursive --depth 1 + working-directory: ${{ steps.vars.outputs.path_GNU }} + - name: Retrieve reference artifacts uses: dawidd6/action-download-artifact@v6 # ref: