fix(comparison): create the old report in the PWD
All checks were successful
/ check (treefmt) (push) Successful in 3s
/ report-size (push) Successful in 2s
/ report-download-check (push) Successful in 0s

We were creating it in a temp dir instead.
This commit is contained in:
Jalil David Salamé Messina 2025-07-11 17:47:27 +02:00
parent a26909cb8c
commit 1b14f63169
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -74,6 +74,7 @@ curl -X 'GET' \
tar -zvx --strip-components=1 -C "$old"
endgroup
(cd "$old" && "$GITHUB_ACTION_PATH/scripts/create-report.sh" old-report.json)
repo_dir=$PWD
(cd "$old" && "$GITHUB_ACTION_PATH/scripts/create-report.sh" "$repo_dir"/old-report.json)
exit 0