A library that computes the ephemerides.
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.
 
 

33 lines
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