File tree Expand file tree Collapse file tree 3 files changed +24
-27
lines changed Expand file tree Collapse file tree 3 files changed +24
-27
lines changed 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+ python -m tests
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 }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2121 packages = find_packages (exclude = ["tests" ]),
2222 scripts = ["bin/compare50" ],
2323 url = "https://github.com/cs50/compare50" ,
24- version = "1.2.3 " ,
24+ version = "1.2.4 " ,
2525 include_package_data = True ,
2626)
You can’t perform that action at this time.
0 commit comments