Allow git describe to get the version for FreeBSD and Cygwin in CI (#1640)

* Specify `safe.directory`
* Fetch tags
* Fetch all commits
This commit is contained in:
Rangi
2025-01-29 19:57:15 -05:00
committed by GitHub
parent b35e9d86fb
commit 03452c6d4f
4 changed files with 10 additions and 4 deletions

View File

@@ -336,6 +336,9 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Setup Cygwin
uses: cygwin/cygwin-install-action@v4
with:
@@ -363,6 +366,9 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Build & test using CMake on FreeBSD
uses: vmactions/freebsd-vm@v1
with: