diff --git a/.github/workflows/preDeploy.yml b/.github/workflows/preDeploy.yml index 21f7265f009c..b86a94532396 100644 --- a/.github/workflows/preDeploy.yml +++ b/.github/workflows/preDeploy.yml @@ -244,6 +244,9 @@ jobs: - name: Make zip directory for everything to send to AWS Device Farm run: mkdir zip + - name: Checkout "Compare" commit + run: git checkout ${{ github.event.before }} + - name: Install node packages uses: nick-invision/retry@0711ba3d7808574133d713a0d92d2941be03a350 with: @@ -251,9 +254,6 @@ jobs: max_attempts: 5 command: npm ci - - name: Checkout "Compare" commit - run: git checkout ${{ github.event.before }} - - name: Build "Compare" APK run: npm run android-build-e2e