From: Michael Wallner Date: Thu, 17 Dec 2020 11:02:22 +0000 (+0100) Subject: ci: gh-actions fetch-depth=1000 for git describe X-Git-Tag: 1.1.0-beta1~46 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d72ff5b4ec83a12b7ca8eed10a9b51d081baf14b;p=m6w6%2Flibmemcached ci: gh-actions fetch-depth=1000 for git describe --- diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index b217d5e7..0545c213 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -363,6 +363,8 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v2 + with: + fetch-depth: 1000 # 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 diff --git a/.github/workflows/cmake-build-ci.yml b/.github/workflows/cmake-build-ci.yml index a6fbe59a..c160ea30 100644 --- a/.github/workflows/cmake-build-ci.yml +++ b/.github/workflows/cmake-build-ci.yml @@ -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: |