Skip to content

Commit 12d74aa

Browse files
committed
test
1 parent cfed0d8 commit 12d74aa

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v3
19+
- name: Set up Python 3
20+
uses: actions/setup-python@v5
2121
with:
22-
python-version: ${{ matrix.python-version }}
22+
python-version: "3.x"
23+
- name: Get tags
24+
run: git fetch --tags origin
2325
- name: Install dependencies
2426
run: |
2527
python -m pip install --upgrade pip
@@ -36,7 +38,8 @@ jobs:
3638
- name: Publish to Test PyPI
3739
run: |
3840
python -m pip install twine
39-
twine upload -r testpypi dist/*
41+
twine check dist/*
42+
twine upload --verbose -r testpypi dist/*
4043
# - name: Publishto PyPI
4144
# run: |
4245
# pip install twine

0 commit comments

Comments
 (0)