Skip to content

Commit

Permalink
Added fetch-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
jeguzzi committed Dec 18, 2024
1 parent fb82f1c commit f867019
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- uses: actions/checkout@v4
with:
path: src/navground
# else it does not fetch the tags
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.12
Expand Down Expand Up @@ -176,6 +178,7 @@ jobs:
- uses: actions/checkout@v4
with:
path: src/navground
# else it does not fetch the tags
fetch-depth: 0
- name: download install
uses: actions/download-artifact@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/describe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- run: pip install setuptools-git-versioning
- run: |
cd navground_py
setuptools-git-versioning
- run: git tag
- run: git describe -all
- run: git describe --all
- run: git describe --tags --dirty

0 comments on commit f867019

Please sign in to comment.