Skip to content

Commit e364e7a

Browse files
committed
fix: Workaround actions/checkout#290
1 parent c2dc6f1 commit e364e7a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/default.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
python-version: '3.13'
1919
- name: Install uv
2020
uses: astral-sh/setup-uv@v5
21+
- name: Check current git-based package version
22+
run: |
23+
git fetch --tags --force
24+
git describe --long
2125
- name: Build sdist
2226
run: |
2327
uv sync
@@ -63,8 +67,10 @@ jobs:
6367
run: |
6468
sudo apt install -y xz-utils
6569
uv sync
66-
- name: Check current git version
67-
run: git describe --long
70+
- name: Check current git-based package version
71+
run: |
72+
git fetch --tags --force
73+
git describe --long
6874
- name: Build wheel
6975
run: |
7076
uv run python scripts/build.py --arch ${{ matrix.platform.arch }}

0 commit comments

Comments
 (0)