diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index 03e7a8d71..90c3691d2 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -3,8 +3,10 @@ name: Build and Publish to Test PyPI on: push jobs: - release-build: + build-and-release: runs-on: ubuntu-latest + permissions: + id-token: write strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12"] @@ -22,25 +24,6 @@ jobs: python -m pip install --upgrade pip build python -m build - - name: Upload distributions - uses: actions/upload-artifact@v4 - with: - name: test-release-dists-${{ matrix.python-version }} - path: dist/ - - pypi-publish: - runs-on: ubuntu-latest - needs: release-build - permissions: - id-token: write - - steps: - - name: Retrieve test release distributions - uses: actions/download-artifact@v4 - with: - name: test-release-dists-${{ matrix.python-version }} - path: dist/ - - name: Publish package distributions to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 with: