Skip to content

Commit 081f2a9

Browse files
committed
set fetch-depth to make workflow work with setuptools-scm
1 parent 8d6975c commit 081f2a9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v3
21+
with:
22+
fetch-depth: 0
2123
- name: Set up Python
22-
uses: actions/setup-python@v3
24+
uses: actions/setup-python@v4
2325
with:
2426
python-version: '3.x'
2527
- name: Install dependencies
@@ -32,4 +34,4 @@ jobs:
3234
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3335
with:
3436
user: __token__
35-
password: ${{ secrets.PYPI_API_TOKEN }}
37+
password: ${{secrets.PYPI_API_TOKEN}}

0 commit comments

Comments
 (0)