From 6d481cfb2d7c2310c557bc3d2725536c2c7aa486 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Wed, 9 Oct 2024 18:45:04 +0200 Subject: [PATCH] Display authors from git log (2) Signed-off-by: Andreas Maier --- .github/workflows/publish.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 01631a3..30648f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -152,15 +152,21 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 with: - fetch-depth: 50 + # fetch-depth 0 checks out all history for all branches and tags. + # This is needed to get the authors from git. + fetch-depth: 0 - # - name: Downgrade Git version to 2.46.1 - # run: | - # sudo add-apt-repository -y ppa:git-core/ppa - # sudo apt-get update - # sudo apt-get install -y git=2.46.1 - # - name: Verify Git version - # run: git --version + - name: Debug - Display git authors + run: | + git shortlog --summary --email + + - name: Downgrade Git version to 2.46.1 + run: | + sudo add-apt-repository -y ppa:git-core/ppa + sudo apt-get update + sudo apt-get install -y git=2.46.1 + - name: Verify Git version + run: git --version - name: Debug - Display git authors run: |