From bab2a9a90a55c75c06fbf42902b9e1d5084e9874 Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Thu, 7 Mar 2024 13:43:03 +0800 Subject: [PATCH] Update job name in deploy-pypi.yml Signed-off-by: Loren Eteval --- .github/workflows/deploy-pypi.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index c2da13d..3d0b567 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -7,8 +7,8 @@ defaults: shell: bash jobs: - build: - name: Build distribution 📦 + build-distribution: + name: Build distribution runs-on: ubuntu-latest steps: @@ -54,11 +54,11 @@ jobs: publish-to-pypi: name: >- - Publish Python 🐍 distribution 📦 to PyPI + Publish Python distribution to PyPI if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes needs: - - build - - deploy + - build-distribution + - deploy-binaries runs-on: ubuntu-latest environment: name: deploy-pypi @@ -72,11 +72,11 @@ jobs: with: name: python-package-distributions path: dist/ - - name: Publish distribution 📦 to PyPI + - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - deploy: - name: Deploy on ${{ matrix.os }} + deploy-binaries: + name: Deploy binary distribution on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -195,10 +195,9 @@ jobs: github-release: name: >- - Sign the Python 🐍 distribution 📦 with Sigstore - and upload them to GitHub Release + Upload to GitHub Release needs: - - deploy + - deploy-binaries - publish-to-pypi runs-on: ubuntu-latest