Skip to content

Commit d857c46

Browse files
Merge #656
656: Fix the examples zip job r=AstraLuma a=pathunstrom we were saving into `working_directory/examples.zip` and uploading `temporary_directory/examples.zip` This builds and uploads from the temp directory. Co-authored-by: Piper Thunstrom <[email protected]>
2 parents 904d750 + e030a7e commit d857c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/upload.xsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PROJECT = os.getcwd()
1616

1717
with tempfile.TemporaryDirectory() as td:
1818
print("Bundling examples...")
19-
with zipfile.ZipFile(f"{PROJECT}/examples.zip", 'w', compression=zipfile.ZIP_LZMA) as examples:
19+
with zipfile.ZipFile(f"{td}/examples.zip", 'w', compression=zipfile.ZIP_LZMA) as examples:
2020
for name, _, files in os.walk('examples'):
2121
if '__pycache__' in name:
2222
continue

0 commit comments

Comments
 (0)