Gradle Improvements (#2311)

This commit is contained in:
Bart Louwers
2024-04-23 15:19:54 +02:00
committed by GitHub
parent 8ad141e213
commit b4dcdb1ba9
13 changed files with 34 additions and 51 deletions

View File

@@ -100,7 +100,7 @@ jobs:
expect-files: "${{ matrix.test.testFile }}, ${{ matrix.test.appFile }}"
- name: Configure AWS Credentials
if: env.run_device_test == 'true' && matrix.test.name == 'Android Benchmark'
if: env.run_device_test == 'true'
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -138,7 +138,7 @@ jobs:
testSpecArn: ${{ matrix.test.testSpecArn }}
- name: Upload benchmark results to S3
if: env.run_device_test == 'true' && matrix.test.name == 'Android Benchmark'
if: always() && env.run_device_test == 'true' && matrix.test.name == 'Android Benchmark'
run: |
npm install --ignore-scripts
node scripts/aws-device-farm/download-benchmark-results.mjs ${{ steps.aws_device_farm_run.outputs.runArn }}