File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on : push
2+ jobs :
3+ test-and-deploy :
4+ runs-on : ubuntu-latest
5+ steps :
6+ - uses : actions/checkout@v2
7+ - uses : actions/setup-python@v2
8+ with :
9+ python-version : ' 3.6'
10+ - name : Run tests
11+ run : |
12+ pip install .
13+ style50 --help
14+ - name : Install pypa/build
15+ run : python -m pip install build --user
16+ - name : Build a binary wheel and a source tarball
17+ run : python -m build --sdist --wheel --outdir dist/ .
18+ - name : Deploy to PyPI
19+ if : ${{ github.ref == 'refs/heads/main' }}
20+ uses : pypa/gh-action-pypi-publish@release/v1
21+ with :
22+ user : __token__
23+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 11. *
2+ ! .github
23! .gitignore
34! .travis.yml
45* .pyc
Load diff This file was deleted.
Original file line number Diff line number Diff line change 2424 "console_scripts" : ["style50=style50.__main__:main" ],
2525 },
2626 url = "https://github.com/cs50/style50" ,
27- version = "2.7.4 " ,
27+ version = "2.7.5 " ,
2828 include_package_data = True ,
2929)
You can’t perform that action at this time.
0 commit comments