Skip to content

Commit

Permalink
github: Don't shallow clone on the build-and-upload flow so the histo…
Browse files Browse the repository at this point in the history
…ry can be properly traversed for `git describe` to locate the most recent tag properly
  • Loading branch information
dragonmux committed Jan 6, 2025
1 parent e0fb233 commit 88edfc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

# Build the firmware for all platform variants (currently available)
Expand Down Expand Up @@ -210,6 +211,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

# Build BMDA for Linux
Expand Down Expand Up @@ -309,6 +311,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

# Build the default BMDA configuration
Expand Down Expand Up @@ -386,6 +389,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

# Build the default BMDA configuration
Expand Down

0 comments on commit 88edfc7

Please sign in to comment.