From ee09bdf27571ea46e626bb63d4efd4692db65134 Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Sun, 6 Oct 2024 15:40:10 -0400 Subject: [PATCH] Reformat yml --- .github/workflows/build-wheels.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index dd1b730..0da4fc7 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -20,13 +20,13 @@ jobs: - uses: hynek/build-and-inspect-python-package@v2 - publish: + pypi-publish: needs: [dist] - environment: testpypi + environment: + name: testpypi + url: https://test/pypi.org/p/cifkit permissions: id-token: write - attestations: write - contents: read runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -34,11 +34,7 @@ jobs: name: Packages path: dist - - name: Generate artifact attestation for sdist and wheel - uses: actions/attest-build-provenance@v1.4.3 + - name: Publish package distributions to TestPyPI + uses: pypa/gh-action-pypi-publish@release/v1 with: - subject-path: "dist/*" - - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/