File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 6161 python-version : [3.8]
6262
6363 steps :
64+ - uses : actions/checkout@v2
65+ - name : Set up Python ${{ matrix.python-version }}
66+ uses : actions/setup-python@v2
67+ with :
68+ python-version : ${{ matrix.python-version }}
69+ - name : Get tag
70+ id : tag
71+ run : echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
72+ - name : Install dependencies
73+ run : |
74+ python -m pip install --upgrade pip setuptools wheel
75+ python -m pip install twine
76+ - name : Build package
77+ run : python setup.py sdist bdist_wheel
78+ - name : Check the package
79+ run : twine check dist/*
6480 - name : Publish package
6581 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
6682 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments