Skip to content

Commit a4f78fd

Browse files
committed
ci: pypi release fix
1 parent c4b2a58 commit a4f78fd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pypi-publish.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- "v[0-9]+.[0-9]+.[0-9]+" # this excludes tags like v1.0.0-rc1 or v1.0.0-beta1
1515

1616
permissions:
17-
# 'read' to access the list of commits
17+
id-token: "write"
1818
contents: "write"
1919
packages: "write"
2020
pull-requests: "read"
@@ -82,6 +82,10 @@ jobs:
8282
working-directory: ./sdk
8383
run: uv build --link-mode=copy
8484

85+
- name: Listing packaged files
86+
working-directory: ./sdk
87+
run: tar -tvf dist/*.tar.gz | sort -k6
88+
8589
- name: Build acceptance checks
8690
# checks the actual package built, to catch errors in the build
8791
# configuration and make sure the published package is usable
@@ -146,3 +150,4 @@ jobs:
146150

147151
- name: Publish package
148152
run: uv publish --trusted-publishing always
153+
working-directory: ./sdk

0 commit comments

Comments
 (0)