From 11cda4ff7921b575fbc85e8a7f961e1f1178bfca Mon Sep 17 00:00:00 2001 From: mizaki Date: Sat, 21 Sep 2024 23:18:26 +0100 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4bcd715..b9932b0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,6 +29,10 @@ jobs: run: | python -m pip install --upgrade --upgrade-strategy eager -r requirements-dev.txt + - name: "Publish distribution 📦 to PyPI" + if: startsWith(github.ref, 'refs/tags/') + uses: pypa/gh-action-pypi-publish@release/v1 + - name: Build and install wheel run: | tox run -m build @@ -36,10 +40,6 @@ jobs: cd build zip -x "*/__pycache__/*" -r ../dist/${{ github.event.repository.name }}-plugin-${{ github.ref_name }}.zip * - - name: "Publish distribution 📦 to PyPI" - if: startsWith(github.ref, 'refs/tags/') - uses: pypa/gh-action-pypi-publish@release/v1 - - name: Get release name if: startsWith(github.ref, 'refs/tags/') shell: bash