diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml index 8d80952..a6aa1f3 100644 --- a/.github/workflows/semantic-release.yaml +++ b/.github/workflows/semantic-release.yaml @@ -21,10 +21,6 @@ jobs: fetch-depth: 0 - name: Python Semantic Release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} - run: | - semantic-release publish \ - --github_token $GITHUB_TOKEN \ - --pypi_token $PYPI_TOKEN \ No newline at end of file + uses: relekang/python-semantic-release@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file