bachya/pytile

View on GitHub
.github/workflows/publish.yml

Summary

Maintainability
Test Coverage
---
name: Publish to PyPI

"on":
  push:
    tags:
      - "*"

jobs:
  publish_to_pypi:
    runs-on: ubuntu-latest

    steps:
      - name: โคต๏ธ Check out code from GitHub
        uses: actions/checkout@v4

      - name: ๐Ÿ— Set up Python 3.12
        id: python
        uses: actions/setup-python@v5
        with:
          python-version: "3.12"

      - name: ๐Ÿš€ Publish to PyPi
        run: |
          pip install poetry
          poetry publish --build -u __token__ -p  ${{ secrets.PYPI_API_KEY }}