We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfed0d8 commit 12d74aaCopy full SHA for 12d74aa
.github/workflows/publish-to-pypi.yml
@@ -16,10 +16,12 @@ jobs:
16
17
steps:
18
- uses: actions/checkout@v4
19
- - name: Set up Python ${{ matrix.python-version }}
20
- uses: actions/setup-python@v3
+ - name: Set up Python 3
+ uses: actions/setup-python@v5
21
with:
22
- python-version: ${{ matrix.python-version }}
+ python-version: "3.x"
23
+ - name: Get tags
24
+ run: git fetch --tags origin
25
- name: Install dependencies
26
run: |
27
python -m pip install --upgrade pip
@@ -36,7 +38,8 @@ jobs:
36
38
- name: Publish to Test PyPI
37
39
40
python -m pip install twine
- twine upload -r testpypi dist/*
41
+ twine check dist/*
42
+ twine upload --verbose -r testpypi dist/*
43
# - name: Publishto PyPI
44
# run: |
45
# pip install twine
0 commit comments