]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
.github/workflows/: Only activate the opentelemetry submodule.
authorFlorian Forster <octo@collectd.org>
Thu, 11 Jan 2024 18:53:12 +0000 (19:53 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 11 Jan 2024 19:04:38 +0000 (20:04 +0100)
.github/workflows/build.yml
.github/workflows/distcheck.yml

index 576da7e3c94479f4ff2d1c9dafc210fc220b0096..0929f403fbd8ebbedd14dfb1bb1744975f46f4c8 100644 (file)
@@ -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
index 30494b7b9a6b8f2935faa396eddb94a6eb05b165..e10f495ceb175e692048111907347359cb08cf56 100644 (file)
@@ -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