From 4cb537f3bac513860c32a285462bbe36d5809f59 Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Wed, 28 Apr 2021 03:04:28 -0700 Subject: [PATCH] ci: switch to semantic release action --- .github/workflows/semantic_release.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/semantic_release.yml b/.github/workflows/semantic_release.yml index c1c178c2..40ef25f5 100644 --- a/.github/workflows/semantic_release.yml +++ b/.github/workflows/semantic_release.yml @@ -29,13 +29,11 @@ jobs: run: | git config --global user.name "semantic-release" git config --global user.email "semantic-release@GitHub" - - name: Publish with semantic-release - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - PYPI_PASSWORD: ${{ secrets.TESLA_PYPY_TOKEN }} - PYPI_USERNAME: __token__ - run: | - DEBUG='*' semantic-release publish + - name: Python Semantic Release + uses: relekang/python-semantic-release@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + pypi_token: ${{ secrets.TESLA_PYPY_TOKEN }} - name: Push changes to dev uses: ad-m/github-push-action@master with: