Skip to content

Commit

Permalink
Update and rename pypi.yml to release.yml (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm authored May 2, 2023
1 parent 5e2ae56 commit 1e52052
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pypi.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ jobs:

- name: Change version in pyproject.toml
run: |
echo ${{ github.ref_name }}
poetry version ${{ github.ref_name }}
poetry build
cat pyproject.toml

- name: Mint token
id: mint
uses: tschm/[email protected]

- name: Publish the package to pypi
run : |
poetry config pypi-token.pypi ${{ secrets.TWINE_TOKEN }}
Expand Down

0 comments on commit 1e52052

Please sign in to comment.