-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update compose compiler report (#732)
* Trigger the creation of compose compiler report * Update CI workflow: add separate step for uploading report * Trigger the generation * Update compose compiler metric and report --------- Co-authored-by: PatilShreyas <[email protected]>
- Loading branch information
1 parent
77cd026
commit ede5c0c
Showing
3 changed files
with
10 additions
and
5 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 |
---|---|---|
|
@@ -46,16 +46,19 @@ jobs: | |
retention-days: 3 | ||
|
||
- name: 📊 Generate compose compiler report ️ | ||
if: github.event_name == 'push' | ||
run: ./gradlew releaseComposeCompilerHtmlReport --stacktrace | ||
working-directory: noty-android | ||
|
||
- name: ⬆️ Update compose compiler report ️in the project | ||
if: github.event_name == 'push' | ||
run: | | ||
./gradlew releaseComposeCompilerHtmlReport --stacktrace | ||
mv -f app/composeapp/build/compose_report/index.html docs/pages/noty-android/compose_report.html | ||
mv -f noty-android/app/composeapp/build/compose_report/index.html docs/pages/noty-android/compose_report.html | ||
git config user.name $GITHUB_ACTOR | ||
git config user.email [email protected] | ||
echo "Compose Report Generated by $GITHUB_RUN_NUMBER via $GITHUB_EVENT_NAME on $(date +"%Y-%m-%d %r")" > docs/pages/noty-android/compose_report.meta | ||
git add docs/pages/noty-android/compose_report.html | ||
git add docs/pages/noty-android/compose_report.meta | ||
git commit -m "Update compose compiler metric and report" | ||
git status | ||
git push | ||
working-directory: noty-android | ||
git push |
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 |
---|---|---|
@@ -1 +1 @@ | ||
Compose Report Generated by 1286 via push on 2024-03-25 01:14:26 PM | ||
Compose Report Generated by 1292 via push on 2024-05-19 11:28:37 AM |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|