A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 rivejä
983 B

  1. name: Build macOS wheels
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: macos-latest
  6. strategy:
  7. matrix:
  8. # macOS apparently doesn't support 3.4
  9. python-version: [3.5, 3.6, 3.7, 3.8]
  10. steps:
  11. - uses: actions/checkout@v2
  12. - name: Set up Python ${{ matrix.python-version }}
  13. uses: actions/setup-python@v1
  14. with:
  15. python-version: ${{ matrix.python-version }}
  16. - name: Build wheels
  17. run: |
  18. python -m pip install --upgrade pip wheel setuptools
  19. pip wheel . -w dist/
  20. ls dist/
  21. - name: Publish package to PyPI
  22. # Only actually publish if a new tag was pushed
  23. if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
  24. # We can't use the pypa action because of https://github.com/pypa/gh-action-pypi-publish/issues/15
  25. run: |
  26. pip install twine
  27. TWINE_USERNAME="__token__" \
  28. TWINE_PASSWORD="${{ secrets.pypi_password }}" \
  29. twine upload dist/*