From cd5c1a6e0330dd5a871242388624996335ca3d67 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 20 Aug 2021 22:44:52 +0200 Subject: [PATCH] ci: unshallow repository on release This is needed for "git log" to work --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5