From: Vincent Bernat Date: Fri, 20 Aug 2021 20:44:52 +0000 (+0200) Subject: ci: unshallow repository on release X-Git-Tag: 1.0.13~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd5c1a6e0330dd5a871242388624996335ca3d67;p=thirdparty%2Flldpd.git ci: unshallow repository on release This is needed for "git log" to work --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 820d9706..e692a89f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,9 +47,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: true - - name: Fetch all tags + - name: Unshallow repository if: matrix.release - run: git fetch --tags + run: | + git fetch --tags + git fetch --unshallow - name: Install stuff run: ./tests/ci/install.sh - name: Build and run tests