summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/mpremote.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/mpremote.yml b/.github/workflows/mpremote.yml
index 3cfb9d47d..14aef03e0 100644
--- a/.github/workflows/mpremote.yml
+++ b/.github/workflows/mpremote.yml
@@ -13,11 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
- # Version is determined from git,
- # should be deep enough to get to latest tag
- fetch-depth: '1000'
- - run: |
- git fetch --prune --unshallow --tags
+ # Setting this to zero means fetch all history and tags,
+ # which hatch-vcs can use to discover the version tag.
+ fetch-depth: 0
- uses: actions/setup-python@v4
- name: Install build tools
run: pip install build