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
646 B

  1. name: Release Application
  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: Prepare environment
  16. run: |
  17. python -m pip install --upgrade pip poetry
  18. - name: Build package
  19. run: |
  20. poetry install
  21. make i18n build
  22. - name: Publish to PyPI
  23. env:
  24. POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_PASSWORD }}
  25. run: |
  26. poetry publish