From cbd4763baa9b46e38f64bd88cf490f224eb46956 Mon Sep 17 00:00:00 2001 From: GIancarlo Buenaflor Date: Tue, 9 Apr 2024 16:18:29 +0200 Subject: [PATCH 1/2] Update metrics ci --- .github/workflows/metrics.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/metrics.yml b/.github/workflows/metrics.yml index 201d0a64ea..f06e8caf11 100644 --- a/.github/workflows/metrics.yml +++ b/.github/workflows/metrics.yml @@ -2,16 +2,7 @@ name: SDK metrics on: push: - paths: - - .github/workflows/metrics.yml - - dart/** - - flutter/** - - metrics/** - - "!**/*.md" - branches-ignore: - - deps/** - - dependabot/** - tags-ignore: ["**"] + # TODO: this is only temporary for testing purposes jobs: cancel-previous-workflow: @@ -60,7 +51,7 @@ jobs: - uses: actions/setup-java@v4 if: ${{ matrix.platform == 'android' }} with: - java-version: "11" + java-version: "17" distribution: "adopt" - run: ./metrics/prepare.sh From 3b0fee17d2bf1f170fd12f54c368d54322ce279c Mon Sep 17 00:00:00 2001 From: GIancarlo Buenaflor Date: Tue, 9 Apr 2024 16:31:47 +0200 Subject: [PATCH 2/2] Revert push conditions --- .github/workflows/metrics.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/metrics.yml b/.github/workflows/metrics.yml index f06e8caf11..c4249f186e 100644 --- a/.github/workflows/metrics.yml +++ b/.github/workflows/metrics.yml @@ -2,7 +2,16 @@ name: SDK metrics on: push: - # TODO: this is only temporary for testing purposes + paths: + - .github/workflows/metrics.yml + - dart/** + - flutter/** + - metrics/** + - "!**/*.md" + branches-ignore: + - deps/** + - dependabot/** + tags-ignore: ["**"] jobs: cancel-previous-workflow: