From c0219428ed1818e39734e8a4d094fbc891e275d1 Mon Sep 17 00:00:00 2001 From: Martin Paljak Date: Mon, 1 Apr 2024 10:02:25 +0300 Subject: [PATCH] Check out with all history for git describe --- .github/workflows/robot.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/robot.yml b/.github/workflows/robot.yml index eb2cd19..19fe965 100644 --- a/.github/workflows/robot.yml +++ b/.github/workflows/robot.yml @@ -21,6 +21,8 @@ jobs: uses: actions/checkout@v4.1.1 with: submodules: true + fetch-depth: 0 # To make git describe give the intended output + fetch-tags: true - name: Setup java uses: actions/setup-java@v4.2.1 with: