From 62c714a58adf598deaeb7ae9af487b84dfe8d536 Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Mon, 9 Oct 2023 13:19:05 +0200 Subject: [PATCH] ci: run poetry publish without using a separate action --- .github/workflows/build-test-release.yml | 10 ++++------ .releaserc | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index ecfb42d4a..09302ebf0 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -233,12 +233,10 @@ jobs: gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }} passphrase: ${{ secrets.SA_GPG_PASSPHRASE }} extra_plugins: | - @google/semantic-release-replace-plugin + semantic-release-replace-plugin env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }} - if: ${{ steps.semantic.outputs.new_release_published == 'true' }} - uses: splunk/pypi-publish-action@v1.0 - with: - pypi_username: ${{ secrets.PYPI_USERNAME }} - pypi_token: ${{ secrets.PYPI_TOKEN }} - \ No newline at end of file + run: | + poetry build + poetry publish -n -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} diff --git a/.releaserc b/.releaserc index c62e4da74..c3345b9b4 100644 --- a/.releaserc +++ b/.releaserc @@ -24,7 +24,7 @@ [ "@semantic-release/commit-analyzer", [ - "@google/semantic-release-replace-plugin", + "semantic-release-replace-plugin", { "replacements": [ {