kopia lustrzana https://github.com/micropython/micropython
github/workflows: Fetch full history for mpremote workflow.
Instead of doing the shallow checkout followed by an unshallow-with-tags, just set fetch-depth=0 to get the full history to start with. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>pull/11349/head
rodzic
294baf52b3
commit
82a59a824c
|
@ -13,11 +13,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# Version is determined from git,
|
# Setting this to zero means fetch all history and tags,
|
||||||
# should be deep enough to get to latest tag
|
# which hatch-vcs can use to discover the version tag.
|
||||||
fetch-depth: '1000'
|
fetch-depth: 0
|
||||||
- run: |
|
|
||||||
git fetch --prune --unshallow --tags
|
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
- name: Install build tools
|
- name: Install build tools
|
||||||
run: pip install build
|
run: pip install build
|
||||||
|
|
Ładowanie…
Reference in New Issue