選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

release.yml 862 B

123456789101112131415161718192021222324252627282930313233
  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/*