A library that computes the ephemerides.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

33 行
864 B

  1. name: Release library
  2. on:
  3. release:
  4. types: [published]
  5. jobs:
  6. pipy:
  7. name: Build and release to PyPI
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v4
  11. - name: Set up Python
  12. uses: actions/setup-python@v5
  13. with:
  14. python-version: '3.x'
  15. - name: Setup environment
  16. run: |
  17. sudo apt update
  18. python -m pip install --upgrade pip poetry
  19. sudo apt install ruby
  20. sudo gem install ronn
  21. - name: Build package
  22. run: |
  23. poetry install
  24. poetry build
  25. - name: Publish package
  26. env:
  27. POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_PASSWORD }}
  28. run: |
  29. poetry publish