File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,20 +12,18 @@ jobs:
1212 - uses : actions/checkout@v2
1313
1414 - name : Set up Python
15- uses : actions/setup-python@v1
15+ uses : actions/setup-python@v2
1616 with :
17- python-version : 3.6
17+ python-version : 3.x
1818
1919 - name : Get tags
2020 run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2121 shell : bash
2222
2323 - name : build
2424 run : |
25- python -m pip install wheel twine
26- python -m pip install -r requirements.txt
27- python setup.py sdist
28- pip wheel . -w dist --no-deps
25+ python -m pip install --upgrade pip wheel setuptools setuptools_scm build twine
26+ python -m build --sdist --wheel . --outdir dist
2927
3028 - name : Check files
3129 run : |
3432
3533 - name : Test wheels
3634 run : |
37- python -m twine check dist/*
35+ cd dist && python -m pip install folium*.whl
36+ python -m twine check *
3837 shell : bash
3938
4039 - name : Publish a Python distribution to PyPI
You can’t perform that action at this time.
0 commit comments