Skip to content

Commit

Permalink
fix: fix CD
Browse files Browse the repository at this point in the history
  • Loading branch information
ADR-007 committed Apr 10, 2024
1 parent 97f1ba8 commit 2322719
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
with:
fetch-depth: 0

- name: Setup python for test Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"

- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@master
Expand All @@ -29,6 +34,7 @@ jobs:

- name: Build and publish to pypi
if: steps.release.outputs.released == 'true'
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
run: |
pip install poetry
poetry build
poetry publish

0 comments on commit 2322719

Please sign in to comment.