Skip to content

Commit a480b54

Browse files
committed
Fix archive paths, everything should be at the root
1 parent 1af9ee8 commit a480b54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
119119
(cd "$ARCHIVE_BASE" && find . \( -type f -o -type l \) | sed 's|^\./|/|') > "$ARCHIVE_BASE/tools_structure.txt"
120120
121-
tar -czf "output/${ARCHIVE_BASE}.tar.gz" "$ARCHIVE_BASE"
121+
tar -czf "output/${ARCHIVE_BASE}.tar.gz" -C "$ARCHIVE_BASE" .
122122
rm -rf "$ARCHIVE_BASE" staging-std
123123
124124
- name: Build free-threaded CPython
@@ -153,7 +153,7 @@ jobs:
153153
154154
(cd "$ARCHIVE_BASE" && find . \( -type f -o -type l \) | sed 's|^\./|/|') > "$ARCHIVE_BASE/tools_structure.txt"
155155
156-
tar -czf "output/${ARCHIVE_BASE}.tar.gz" "$ARCHIVE_BASE"
156+
tar -czf "output/${ARCHIVE_BASE}.tar.gz" -C "$ARCHIVE_BASE" .
157157
rm -rf "$ARCHIVE_BASE" staging-ft
158158
159159
- name: Print tarball hashes

0 commit comments

Comments
 (0)