Skip to content

Commit

Permalink
Fix CI references to :app
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed May 14, 2023
1 parent 832175d commit 21348e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/baseline-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# This allows us to build most of what we need without the emulator running
# and using resources
- name: Build app and benchmark
run: ./gradlew :benchmark:assembleBenchmark :app:assembleStandardBenchmark
run: ./gradlew :benchmark:assembleBenchmark assembleStandardBenchmark

- name: Clear unused Gradle Managed Devices
run: ./gradlew cleanManagedDevices --unused-only
Expand All @@ -81,7 +81,7 @@ jobs:
run: |
# Pull down any changes which may have been committed while this workflow has been running
git pull
# Copy the baseline profile to :app
# Copy the baseline profile to :android-app:app
cp benchmark/build/outputs/managed_device_android_test_additional_output/api31/BaselineProfileGenerator_generateBaselineProfile-baseline-prof.txt android-app/app/src/main/baseline-prof.txt
# If the baseline profile has changed, commit it
if [[ $(git diff --stat android-app/app/src/main/baseline-prof.txt) != '' ]]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }}

- name: Build (skipping benchmark type)
run: ./gradlew build bundle -x :app:assembleStandardBenchmark -x :app:bundleStandardBenchmark
run: ./gradlew build bundle -x :android-app:app:assembleStandardBenchmark -x :android-app:app:bundleStandardBenchmark

- name: Run smoke tests on Gradle Managed Device
# --info used to add a repro to https://issuetracker.google.com/issues/193118030
Expand Down

0 comments on commit 21348e5

Please sign in to comment.