Skip to content

Commit 5386931

Browse files
authored
Merge pull request #399 from JaGeo/naik-aakash-patch-1
get full git history in CI
2 parents 205ac20 + 58e4145 commit 5386931

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
sleep 300
5656
echo "Resuming workflow..."
5757
- uses: actions/checkout@v4
58+
with:
59+
fetch-depth: 0 # Fetch full history to include .git directory
5860
- name: Set up Python
5961
uses: actions/setup-python@v4
6062
with:
@@ -64,7 +66,7 @@ jobs:
6466
pip install build
6567
python -m build
6668
- name: Publish package
67-
uses: pypa/gh-action-pypi-publish@v1.8.14
69+
uses: pypa/gh-action-pypi-publish@release/v1
6870
with:
6971
user: __token__
7072
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)