Analyze Compiler Metrics #4
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
name: Analyze Compiler Metrics | |
on: | |
workflow_dispatch: | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: setup gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: make gradlew executable | |
run: chmod +x ./gradlew | |
- name: generate compose reports | |
run: ./gradlew assembleRelease -PcomposeCompilerReports=true | |
- name: navigate to compiler dir | |
run: cd compiler_metrics | |
- name: find and analyze | |
run: | | |
files=$(find . -maxdepth 1 -name "*-composables.txt") | |
echo "$files" |