Skip to content

Commit

Permalink
Reformat yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bobleesj committed Oct 6, 2024
1 parent 529275d commit ee09bdf
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,21 @@ 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
with:
name: Packages
path: dist

- name: Generate artifact attestation for sdist and wheel
uses: actions/[email protected]
- 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/

0 comments on commit ee09bdf

Please sign in to comment.