Skip to content

Commit

Permalink
fix: merge publish workflow with release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ADR-007 committed Apr 10, 2024
1 parent 388a87a commit 9c1ab35
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/publish.yaml

This file was deleted.

9 changes: 8 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
fetch-depth: 0

- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.PAT }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Build and publish to pypi
if: steps.release.outputs.released == 'true'
uses: JRubics/poetry-publish@v2.0
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 9c1ab35

Please sign in to comment.