From: Florian Forster Date: Thu, 11 Jan 2024 18:53:12 +0000 (+0100) Subject: .github/workflows/: Only activate the opentelemetry submodule. X-Git-Tag: 6.0.0-rc0~15^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f683ff1324d4779db683e63aa4e94201fbc4ac50;p=thirdparty%2Fcollectd.git .github/workflows/: Only activate the opentelemetry submodule. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 576da7e3c..0929f403f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,8 +48,10 @@ jobs: VALGRIND_OPTS: "--errors-for-leak-kinds=definite" steps: - uses: actions/checkout@v4 - with: - submodules: true + - run: | + git config --global --add safe.directory "$(pwd)" + git submodule init -- opentelemetry-proto + git submodule update -- opentelemetry-proto - run: type pkg-config - run: pkg-config --list-all | sort -u - name: Generate configure script @@ -109,8 +111,10 @@ jobs: VALGRIND_OPTS: "--errors-for-leak-kinds=definite" steps: - uses: actions/checkout@v4 - with: - submodules: true + - run: | + git config --global --add safe.directory "$(pwd)" + git submodule init -- opentelemetry-proto + git submodule update -- opentelemetry-proto - run: type pkg-config - run: pkg-config --list-all | sort -u - name: Generate configure script diff --git a/.github/workflows/distcheck.yml b/.github/workflows/distcheck.yml index 30494b7b9..e10f495ce 100644 --- a/.github/workflows/distcheck.yml +++ b/.github/workflows/distcheck.yml @@ -22,8 +22,10 @@ jobs: VALGRIND_OPTS: "--errors-for-leak-kinds=definite" steps: - uses: actions/checkout@v4 - with: - submodules: true + - run: | + git config --global --add safe.directory "$(pwd)" + git submodule init -- opentelemetry-proto + git submodule update -- opentelemetry-proto - name: Install bzip2 run: apt install -y bzip2 - name: Print available packages