From caebe8a70fac1f80cd3ebd4c59b52f67dfe4db74 Mon Sep 17 00:00:00 2001 From: Denis Kokorin Date: Wed, 18 Dec 2024 22:36:23 +0200 Subject: [PATCH] Job names --- .github/workflows/{release-main.yml => release-pypi.yml} | 2 +- .github/workflows/{release-test.yml => release-test-pypi.yml} | 4 ++-- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{release-main.yml => release-pypi.yml} (89%) rename .github/workflows/{release-test.yml => release-test-pypi.yml} (87%) diff --git a/.github/workflows/release-main.yml b/.github/workflows/release-pypi.yml similarity index 89% rename from .github/workflows/release-main.yml rename to .github/workflows/release-pypi.yml index c42674b..ff31a15 100644 --- a/.github/workflows/release-main.yml +++ b/.github/workflows/release-pypi.yml @@ -1,4 +1,4 @@ -name: Release Main +name: Release to PyPI on: release: diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test-pypi.yml similarity index 87% rename from .github/workflows/release-test.yml rename to .github/workflows/release-test-pypi.yml index 02edac5..a6e2e86 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test-pypi.yml @@ -1,4 +1,4 @@ -name: Test Release +name: Release to Test PyPI on: push: @@ -10,7 +10,7 @@ on: types: - published jobs: - release: + test-release: uses: ./.github/workflows/release.yml with: pypi-repo: test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf5f00b..d227e1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ env: HATCH_INDEX_REPO: ${{ inputs.pypi-repo }} HATCH_INDEX_AUTH: ${{ secrets.pypi-token }} jobs: - release: + do-release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4