From b4dcf2b3811e15e6bf85f83daa39a0669aa49194 Mon Sep 17 00:00:00 2001 From: Splendo CI Date: Wed, 13 Dec 2023 11:48:47 +0100 Subject: [PATCH 1/2] change max API level emulator to 34 --- .github/workflows/emulator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/emulator.yaml b/.github/workflows/emulator.yaml index af9b3cd38..a8b1c79a4 100644 --- a/.github/workflows/emulator.yaml +++ b/.github/workflows/emulator.yaml @@ -35,7 +35,7 @@ jobs: strategy: fail-fast: false matrix: - api-level: [23, 33] + api-level: [23, 34] project: ${{ fromJSON(needs.build.outputs.projects) }} steps: - name: checkout From ba2cec3013a3b9090c7e3ee99618736a2c1e1162 Mon Sep 17 00:00:00 2001 From: Tijl Date: Wed, 13 Dec 2023 15:58:34 +0100 Subject: [PATCH 2/2] Try to fix rerun_emulator.yaml --- .github/workflows/rerun_emulator.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rerun_emulator.yaml b/.github/workflows/rerun_emulator.yaml index 44b73350f..870203950 100644 --- a/.github/workflows/rerun_emulator.yaml +++ b/.github/workflows/rerun_emulator.yaml @@ -1,4 +1,7 @@ name: Rerun failed emulator tests +permissions: + contents: write + on: workflow_run: workflows: ["Android Emulator tests"] @@ -9,5 +12,7 @@ jobs: on-failure: runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.run_attempt < 2 }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - run: gh run rerun ${{ github.event.workflow_run.id }} --failed \ No newline at end of file + - run: gh run rerun ${{ github.event.workflow_run.id }} --failed