Skip to content

Commit a6610e6

Browse files
committed
fetch tags
1 parent 571dc96 commit a6610e6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/publish-pypi.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
id-token: write
1717
contents: write
1818
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
20+
with:
21+
fetch-tags: true
2122

22-
- name: Set up Python
23-
uses: actions/setup-python@v5
23+
- uses: actions/setup-python@v5
2424
with:
2525
python-version: '3.12'
2626
cache: 'pip'
@@ -30,8 +30,7 @@ jobs:
3030
python -m pip install --upgrade pip
3131
pip install poetry python-semantic-release
3232
33-
- name: Install dependencies
34-
run: poetry install --with dev --no-root
33+
- run: poetry install --with dev --no-root
3534

3635
- name: Run semantic-release
3736
run: semantic-release publish

0 commit comments

Comments
 (0)