File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -14,35 +14,24 @@ jobs:
1414 FORCE_COLOR : 1
1515 PY_COLORS : 1
1616 TOXENV : packaging
17- TOX_PARALLEL_NO_SPINNER : 1
1817
1918 steps :
2019 - name : Switch to using Python 3.8 by default
2120 uses : actions/setup-python@v4
2221 with :
2322 python-version : 3.8
23+ cache : pip
2424 - name : Install tox
25- run : >-
26- python3 -m
27- pip install
28- --user
29- tox
25+ run : python3 -m pip install --user tox
3026 - name : Check out src from Git
3127 uses : actions/checkout@v3
3228 with :
3329 fetch-depth : 0 # needed by setuptools-scm
3430 - name : Build dists
3531 run : python -m tox
36- - name : Publish to test.pypi.org
37- if : >- # "create" workflows run separately from "push" & "pull_request"
38- github.event_name == 'release'
39- uses : pypa/gh-action-pypi-publish@master
40- with :
41- password : ${{ secrets.testpypi_password }}
42- repository_url : https://test.pypi.org/legacy/
4332 - name : Publish to pypi.org
4433 if : >- # "create" workflows run separately from "push" & "pull_request"
4534 github.event_name == 'release'
46- uses : pypa/gh-action-pypi-publish@master
35+ uses : pypa/gh-action-pypi-publish@release/v1
4736 with :
4837 password : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments