File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed
Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -104,35 +104,11 @@ jobs:
104104 with :
105105 # We want our tags here
106106 fetch-depth : 0
107+ 107108 - uses : " actions/setup-python@v4"
108109 with :
109110 python-version : " 3.10"
110111
111- - name : Check if we have the publish key
112- env :
113- TEST_PYPI_API_TOKEN : ${{ secrets.TEST_PYPI_API_TOKEN }}
114- if : " ${{ env.TEST_PYPI_API_TOKEN != '' }}"
115- run : |
116- echo "DO_PUBLISH=yes" >> $GITHUB_ENV
117- echo "SETUPTOOLS_SCM_PRETEND_VERSION=0.0.1" >> $GITHUB_ENV
118-
119- - name : " Install pep517 and twine"
120- run : " python -m pip install pep517 twine"
121- - name : " Build package"
122- run : " python -m pep517.build --source --binary ."
123- - name : " List result"
124- run : " ls -l dist"
125- - name : " Check long_description"
126- run : " python -m twine check dist/*"
127- - name : " Publish package to TestPyPI"
128- uses : " pypa/gh-action-pypi-publish@release/v1"
129- if : " ${{ env.DO_PUBLISH == 'yes' }}"
130- with :
131- user : " __token__"
132- password : " ${{ secrets.TEST_PYPI_API_TOKEN }}"
133- repository_url : " https://test.pypi.org/legacy/"
134- skip_existing : true
135-
136112 install-dev :
137113 strategy :
138114 matrix :
You can’t perform that action at this time.
0 commit comments