From 357400e4736cdb9130f497bac03ee3c89a61b6e5 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Wed, 22 Mar 2023 22:49:31 +0100 Subject: [PATCH] Only allow one concurrent AWS Device Farm run (#932) --- .github/workflows/android-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 5fc7bf4be..e678554ea 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -149,6 +149,7 @@ jobs: - name: Write uploads.env if: github.ref == 'refs/heads/main' + working-directory: . run: | echo "ANDROID_APP_ARN=${{ steps.upload-android-app.outputs.arn }}" >> uploads.env echo "ANDROID_TEST_ARN=${{ steps.upload-android-test.outputs.arn }}" >> uploads.env @@ -174,6 +175,10 @@ jobs: instrumentation-test: needs: build + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' steps: