From 18cb9bf3df654ca555dc5678f0ab05d97ffaa9d1 Mon Sep 17 00:00:00 2001 From: Maxim V4S Date: Thu, 10 Oct 2024 14:54:27 +0300 Subject: [PATCH 1/2] ci(refactor): rename github draft release workflow --- .github/workflows/release_github.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_github.yaml b/.github/workflows/release_github.yaml index 814c5fd..6a4736f 100644 --- a/.github/workflows/release_github.yaml +++ b/.github/workflows/release_github.yaml @@ -3,7 +3,7 @@ # creation wheel and sdist package archives. Then the draft GitHub release is # created with attached built python package archives. -name: Create release +name: Create GitHub draft release on: push: From 2135e7f3e4be499ed91757ada021c1e7fbb4c843 Mon Sep 17 00:00:00 2001 From: Maxim V4S Date: Thu, 10 Oct 2024 14:55:00 +0300 Subject: [PATCH 2/2] ci(feat): workflow for publishing to PyPI --- .github/workflows/release_pypi.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_pypi.yaml b/.github/workflows/release_pypi.yaml index 727a7af..62eb24e 100644 --- a/.github/workflows/release_pypi.yaml +++ b/.github/workflows/release_pypi.yaml @@ -1,4 +1,4 @@ -name: Release +name: Publish release to PyPI on: release: @@ -56,6 +56,4 @@ jobs: - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@v1.10.3 with: - repository-url: https://test.pypi.org/legacy/ - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - # password: ${{ secrets.PYPI_API_TOKEN }} + password: ${{ secrets.PYPI_API_TOKEN }}