Skip to content

Commit 5222c8f

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

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
@@ -89,9 +89,16 @@ jobs:
8989
verify-cert-identity: https://github.com/${{ github.repository }}/.github/workflows/publish.yml@refs/tags/${{ github.ref_name }}
9090
verify-oidc-issuer: https://token.actions.githubusercontent.com
9191

92+
- name: Prepare distributions for PyPI upload
93+
run: |
94+
mkdir -p publish-dist
95+
cp dist/*.whl publish-dist/
96+
cp dist/*.tar.gz publish-dist/
97+
9298
- name: Publish to PyPI
9399
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
94100
with:
101+
packages-dir: publish-dist
95102
skip-existing: true
96103

97104
- name: Upload signed assets to GitHub Release

0 commit comments

Comments
 (0)