Skip to content

Commit

Permalink
ci: change root for timings directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rishadbaniya committed Oct 6, 2024
1 parent 422d6eb commit c19811e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CompileTimeDelta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:

- name: Create required directories & copy raw timing file (with the timestamp in it's name) to target repository's timings/raw_html directory
run: |
mkdir -p compile-timings/timings/raw_html
mv debate-map/target/cargo-timings/cargo-timing-* compile-timings/timings/raw_html
mkdir -p compile-timings/docs/timings/raw_html
mv debate-map/target/cargo-timings/cargo-timing-* compile-timings/docs/timings/raw_html
- name: Commit and push changes
working-directory: compile-timings
run: |
git config user.name "compile-timings[bot]"
git config user.email [email protected]
git add timings
NEW_BUILD_HTML_FILE=$(ls -t timings/raw_html/ | head -n1)
git add docs/timings/raw_html
NEW_BUILD_HTML_FILE=$(ls -t docs/timings/raw_html/ | head -n1)
git commit -m "ci: add build timing html file $NEW_BUILD_HTML_FILE"
git push

0 comments on commit c19811e

Please sign in to comment.