Skip to content

Commit 3afa762

Browse files
committed
fix(ci): set fetch-depth to 0 in test-publish job
1 parent 96dc33c commit 3afa762

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969

7070
steps:
7171
- uses: actions/checkout@v3
72+
with:
73+
fetch-depth: 0
7274

7375
# For publishing any version will do
7476
- name: Set up Python 3.11
@@ -102,12 +104,6 @@ jobs:
102104
VERSION=$(basename dist/*.whl | cut -d- -f2)
103105
echo "version=${VERSION}" >> $GITHUB_OUTPUT
104106
105-
- name: Inspect packages
106-
run: |
107-
ls -R dist
108-
unzip dist/*.whl -d dist/unpacked
109-
ls -R dist/unpacked
110-
111107
- name: Publish distribution to Test PyPI
112108
env:
113109
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)