-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: change root for timings directory
- Loading branch information
1 parent
422d6eb
commit c19811e
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |