ci: gh-actions fetch-depth=1000 for git describe
[m6w6/libmemcached] / .github / workflows / cmake-build-ci.gen
index b217d5e7f742f3bbbd12d18ece92be38be39c818..0545c2138b4ee52813c127b977c8e82b9b69bc34 100755 (executable)
@@ -363,6 +363,8 @@ jobs:
     continue-on-error: true
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 1000
 <?php steps(false); ?>
 
   # win build
@@ -377,6 +379,8 @@ jobs:
     continue-on-error: true
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 1000
       - uses: msys2/setup-msys2@v2
         with:
           release: false
@@ -416,4 +420,6 @@ jobs:
       CC_VER: ${{ matrix.cc_ver }}
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 1000
 <?php steps(true); ?>