Skip to content

Commit

Permalink
chore: add poetry to release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Yelinz committed Jan 3, 2024
1 parent 67e2529 commit d76b9d9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Semantic Release
name: Release

on:
workflow_dispatch:
Expand All @@ -16,13 +16,14 @@ jobs:
with:
fetch-depth: 0

- name: Install poetry
run: pipx install poetry

- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@v8.7.0
with:
github_token: ${{ secrets.GH_TOKEN }}

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.release.outputs.released == 'true'

uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit d76b9d9

Please sign in to comment.