File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ jobs:
2020 - name : Get tag version
2121 id : get_version
2222 run : echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
23- - name : Set up Python 3.9
23+ - name : Set up Python 3.8
2424 uses : actions/setup-python@v2
2525 with :
26- python-version : 3.9
26+ python-version : 3.8
2727 - name : Install dependencies
2828 run : |
2929 python -m pip install --upgrade pip
30- pip install flake8 pytest
30+ pip install flake8 pytest setuptools wheel twine
3131 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3232 - name : Lint with flake8
3333 run : |
4242 run : |
4343 echo "Python package version: ${{ steps.get_version.outputs.VERSION }}"
4444 sed -i -E -r "s/version = \"(.*)\"/version = \"${{ steps.get_version.outputs.VERSION }}\"/g" setup.py
45- python -m pip install -U pip wheel setuptools
46- python -m build --sdist --wheel --outdir dist/
45+ python setup.py sdist bdist_wheel
4746 - name : Deploy Distribution to Test PyPI
4847 uses : pypa/gh-action-pypi-publish@master
4948 with :
You can’t perform that action at this time.
0 commit comments