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