Merge pull request #17 from ocsf/compile-debugging #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and publish to PyPI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-to-pypi: | |
runs-on: ubuntu-latest | |
environment: release | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup python and poetry | |
uses: ./.github/actions/poetry | |
- name: Build and Publish | |
run: | | |
poetry publish -p ${{ secrets.PYPI_TOKEN }} -u __token__ --build | |
shell: bash |