From 4b0f966fb4fc629d42147c784343094be78863c6 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sat, 2 Dec 2023 13:08:39 -0700 Subject: fetch tags on CI checkout, so 'git describe' can work --- .github/workflows/compile.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 893eb41..e695a3a 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -14,6 +14,9 @@ jobs: - name: Checkout uses: actions/checkout@master + # allow 'git describe' to work, by fetching tags + with: + fetch-tags: true - name: Stop committing version.h # reject commit if version.h was changed -- cgit v1.2.3