Skip to content

Commit fcecdbf

Browse files
authored
chore: Update Python setup and enhance publishing workflow (hiero-ledger#2168)
Signed-off-by: Ntege Daniel <danientege785@gmail.com>
1 parent 3fca61e commit fcecdbf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,16 @@ jobs:
8787
verify-cert-identity: https://github.com/${{ github.repository }}/.github/workflows/publish.yml@refs/tags/${{ github.ref_name }}
8888
verify-oidc-issuer: https://token.actions.githubusercontent.com
8989

90+
- name: Prepare distributions for PyPI upload
91+
run: |
92+
mkdir -p publish-dist
93+
cp dist/*.whl publish-dist/
94+
cp dist/*.tar.gz publish-dist/
95+
9096
- name: Publish to PyPI
9197
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
9298
with:
99+
packages-dir: publish-dist
93100
skip-existing: true
94101

95102
- name: Upload signed assets to GitHub Release

0 commit comments

Comments
 (0)