From fdff5d3faf174f0c1a07664e25e1dedc4f805ed5 Mon Sep 17 00:00:00 2001 From: Mohsen Rzna Date: Mon, 16 Dec 2024 22:18:37 +0100 Subject: [PATCH] Removed extra jobs --- .../workflows/NightlyBaselineProfiles.yaml | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/NightlyBaselineProfiles.yaml b/.github/workflows/NightlyBaselineProfiles.yaml index 61f96cad7..de626b0a5 100644 --- a/.github/workflows/NightlyBaselineProfiles.yaml +++ b/.github/workflows/NightlyBaselineProfiles.yaml @@ -57,28 +57,4 @@ jobs: run: ./gradlew :app:generateReleaseBaselineProfile -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=baselineprofile -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" - --stacktrace - - - name: Config Git - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - - # This checks if baseline and startup profile are available, then proceed. - - name: Commit and Push Changes - run: | - if [ -d "app/src/main/baseline-prof.txt" ] || [ -d "app/build/baselineProfiles" ]; then - echo "Found baseline profile changes" - git add app/src/main/baseline-prof.txt || true - git add app/build/baselineProfiles/release/baseline-prof.txt || true - git commit -m "Update baseline profiles [automated]" - git push - else - echo "No baseline profile changes found" - echo "Checked locations:" - echo "- app/src/main/baseline-prof.txt" - echo "- app/build/baselineProfiles/release/baseline-prof.txt" - ls -la app/src/main || echo "Main directory not found" - ls -la app/build/baselineProfiles/release || echo "Release profiles directory not found" - exit 1 - fi + --stacktrace \ No newline at end of file