A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

31 linhas
937 B

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