Skip to content

Commit 712b10a

Browse files
committed
fix: Fix pathing issues
1 parent 4817e7b commit 712b10a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,12 @@ jobs:
7676
7777
touch "$folder"metadata.json
7878
79+
cd "$folder"
80+
7981
# write current commit id to metadata.json
80-
echo "{\"commit\": \"$(git -C "$folder" rev-parse HEAD)\", \"id\": \"$(git -C "$folder" rev-list --max-parents=0 HEAD)\"}" > "$folder"metadata.json
82+
echo "{\"commit\": \"$(git rev-parse HEAD)\", \"id\": \"$(git rev-list --max-parents=0 HEAD)\"}" > "$folder"metadata.json
83+
84+
cd -
8185
8286
echo "Zipping folder: $folder"
8387
zip -r "$out.zip" "$folder" || echo "Failed to zip $folder"

0 commit comments

Comments
 (0)