Skip to content

Commit

Permalink
fix(build): update release order
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorhakes committed Sep 17, 2023
1 parent 3e8fa06 commit db88117
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,18 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}

- name: Python Semantic Release
id: semantic_release
uses: taylorhakes/python-semantic-release@master
with:
github_token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-python@v4
with:
python-version: "3.x"

- name: deps
run: python -m pip install -U build

- name: build
run: python -m build

- name: Python Semantic Release
id: semantic_release
uses: taylorhakes/python-semantic-release@master
with:
github_token: ${{ secrets.GH_TOKEN }}
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.semantic_release.outputs.released == 'true'

0 comments on commit db88117

Please sign in to comment.