pythonpublish.yaml 656 B

123456789101112131415161718192021222324252627
  1. # name: Upload Python Package
  2. # on:
  3. # push:
  4. # tags:
  5. # - '*' # Will trigger for every tag, alternative: 'v*'
  6. # jobs:
  7. # deploy:
  8. # runs-on: ubuntu-latest
  9. # steps:
  10. # - uses: actions/checkout@v1
  11. # - name: Set up Python
  12. # uses: actions/setup-python@v1
  13. # with:
  14. # python-version: '3.x'
  15. # - name: Install dependencies
  16. # run: |
  17. # python -m pip install --pre -U poetry
  18. # poetry --version
  19. # poetry install
  20. # - name: Build and publish
  21. # env:
  22. # PYPI_USERNAME: __token__
  23. # PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
  24. # run: |
  25. # ./scripts/publish