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.
 
 
 
 

30 lines
795 B

  1. name: Release Application
  2. on:
  3. release:
  4. types: [created]
  5. jobs:
  6. pip:
  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: Install dependencies
  15. run: |
  16. python -m pip install --upgrade pip
  17. pip install setuptools wheel twine skyfield numpy tabulate Babel requests
  18. - name: Build and publish
  19. env:
  20. TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
  21. TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
  22. POEDITOR_API_ACCESS: ${{ secrets.POEDITOR_API_ACCESS }}
  23. POEDITOR_PROJECT_ID: 306433
  24. run: |
  25. python .scripts/build/getlangs.py
  26. python setup.py sdist bdist_wheel
  27. twine upload dist/*