Skip to content

Commit

Permalink
make sure hatch builds files before releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
dchukhin committed Aug 13, 2024
1 parent 294a01e commit 40752b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
permissions:
id-token: write
steps:
- name: Install hatch
run: pip install hatch
- name: Build a binary wheel and a source tarball
run: hatch build
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

Expand All @@ -48,6 +52,10 @@ jobs:
id-token: write # IMPORTANT: mandatory for sigstore

steps:
- name: Install hatch
run: pip install hatch
- name: Build a binary wheel and a source tarball
run: hatch build
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
with:
Expand Down

0 comments on commit 40752b3

Please sign in to comment.