ci: gh-actions fetch-depth=1000 for git describe
authorMichael Wallner <mike@php.net>
Thu, 17 Dec 2020 11:02:22 +0000 (12:02 +0100)
committerMichael Wallner <mike@php.net>
Thu, 17 Dec 2020 11:02:28 +0000 (12:02 +0100)
.github/workflows/cmake-build-ci.gen
.github/workflows/cmake-build-ci.yml

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); ?>
index a6fbe59ab925feed7a4cc87dd596eb6c39bac1ca..c160ea3033d31bd759ecbbcb11cca15fa3cbac45 100644 (file)
@@ -420,6 +420,8 @@ jobs:
     continue-on-error: true
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 1000
       - name: Install dependencies (Linux)
         if: runner.os == 'Linux'
         run: |
@@ -510,6 +512,8 @@ jobs:
     continue-on-error: true
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 1000
       - uses: msys2/setup-msys2@v2
         with:
           release: false
@@ -549,6 +553,8 @@ jobs:
       CC_VER: ${{ matrix.cc_ver }}
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 1000
       - name: Prepare environment (for new gnu on ubuntu-20.04)
         if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='new')
         run: |