fork/mons
git clone https://git.julia.blue/fork/mons
f973665
misc-fixes
1name : Publish build to PyPI 2 3on : 4push : 5tags : 6- 'v*' 7 8jobs : 9test : 10uses : coloursofnoise/mons/.github/workflows/test.yml@main 11 12build-and-publish : 13needs : test 14runs-on : ubuntu-latest 15 16steps : 17- uses : actions/checkout@v3 18with : 19fetch-depth : 0 20- name : Set up Python 3.11 21uses : actions/setup-python@v2 22with : 23python-version : '3.11' 24 25- name : Install dependencies 26run : | 27python -m pip install --upgrade pip 28python -m pip install . 29python -m pip install -r requirements-dev.txt 30 31- name : Generate packaged manual pages 32run : sphinx-build -b man -W docs mons/man -d docs/_build 33env : 34TZ : UTC 35 36- name : Install pypa/build 37run : python -m pip install build --user 38- name : Build wheel and source tarball 39run : python -m build --outdir dist/ . 40 41- name : Publish distribution to TestPyPI 42uses : pypa/gh-action-pypi-publish@release/v1 43with : 44user : __token__ 45password : ${{ secrets.TEST_PYPI_API_TOKEN }} 46repository_url : https://test.pypi.org/legacy/ 47- name : Publish distribution to PyPI 48uses : pypa/gh-action-pypi-publish@release/v1 49with : 50user : __token__ 51password : ${{ secrets.PYPI_API_TOKEN }}