Publish package #66
Workflow file for this run
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: Publish package | |
on: | |
push: | |
jobs: | |
publish_package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fix issue with next step Detected Git repository, but failed because of dubious ownership | |
run: | | |
git config --global --add safe.directory $(pwd) | |
- name: Publish package to pypi | |
uses: JRubics/[email protected] | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
with: | |
pypi_token: ${{ secrets.PYPI_API_TOKEN }} | |
plugins: "poetry-dynamic-versioning[plugin]" |