Skip to content

Commit

Permalink
Update compose compiler report (#732)
Browse files Browse the repository at this point in the history
* 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
PatilShreyas and actions-user authored May 19, 2024
1 parent 77cd026 commit ede5c0c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/pages/noty-android/compose_report.meta
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
2 changes: 2 additions & 0 deletions noty-android/tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@


0 comments on commit ede5c0c

Please sign in to comment.