Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

34 righe
862 B

  1. name: Release Application
  2. on:
  3. - release
  4. jobs:
  5. pipy:
  6. name: Build and Release to PyPI
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v1
  10. - name: Set up Python
  11. uses: actions/setup-python@v1
  12. with:
  13. python-version: '3.7'
  14. - name: Setup environment
  15. run: |
  16. sudo apt update
  17. sudo apt install ruby
  18. sudo gem install ronn
  19. - name: Install dependencies
  20. run: |
  21. python -m pip install --upgrade pip
  22. pip install setuptools wheel twine skyfield numpy tabulate Babel requests
  23. - name: Build package
  24. run: |
  25. make i18n build
  26. - name: Publish to PyPI
  27. env:
  28. TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
  29. TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
  30. run: |
  31. twine upload dist/*