From d49fcd28993d220427ab1b32a10cc133574c62a8 Mon Sep 17 00:00:00 2001 From: "P.T. Jochym" Date: Sat, 7 Dec 2024 19:53:52 +0100 Subject: [PATCH] Clean workflow names --- .github/workflows/pypi.yml | 2 +- .github/workflows/testpypi.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index b3669f1..5bdd1bf 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,4 +1,4 @@ -name: Build, test and publish to (test)PyPI +name: Publish to PyPI on: push: tags: diff --git a/.github/workflows/testpypi.yml b/.github/workflows/testpypi.yml index 2c42005..76ad85c 100644 --- a/.github/workflows/testpypi.yml +++ b/.github/workflows/testpypi.yml @@ -1,4 +1,4 @@ -name: Build, test and publish to testPyPI +name: Publish to testPyPI on: push: tags: @@ -15,7 +15,7 @@ jobs: name: Publish to TestPyPI # Only on dev pushes # if: ${{ github.event_name == 'push' && ( github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master' ) }} - # Run on untagged push + # Run on tagged push if: startsWith(github.ref, 'refs/tags/') needs: - build