From d72ff5b4ec83a12b7ca8eed10a9b51d081baf14b Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 17 Dec 2020 12:02:22 +0100 Subject: [PATCH] ci: gh-actions fetch-depth=1000 for git describe --- .github/workflows/cmake-build-ci.gen | 6 ++++++ .github/workflows/cmake-build-ci.yml | 6 ++++++ 2 files changed, 12 insertions(+) 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: | -- 2.30.2