diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ba96ef..b485fad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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' \ No newline at end of file