From 3cae22f1ce516d6505967413f128cba897526360 Mon Sep 17 00:00:00 2001 From: rory Date: Tue, 1 Oct 2024 09:37:36 -0700 Subject: [PATCH] fix artifact paths --- .github/workflows/deploy.yml | 12 ++++++------ .github/workflows/testBuild.yml | 5 +++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f79e6f2e00c8..7905e7d2acb7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -96,20 +96,20 @@ jobs: - name: Download Android build artifacts uses: actions/download-artifact@v4 with: - path: /etc/usr/artifacts + path: /tmp/artifacts pattern: android-artifact-* merge-multiple: true - name: Log downloaded artifact paths - run: ls -R /etc/usr/artifacts + run: ls -R /tmp/artifacts - name: Upload Android app to Google Play run: bundle exec fastlane android upload_google_play_internal env: - aabPath: /etc/usr/artifacts/android-artifact-aab/${{ needs.buildAndroid.outputs.AAB_FILE_NAME }} + aabPath: /tmp/artifacts/android-artifact-aab/${{ needs.buildAndroid.outputs.AAB_FILE_NAME }} - name: Upload Android build to Browser Stack - run: curl -u "$BROWSERSTACK" -X POST "https://api-cloud.browserstack.com/app-live/upload" -F "file=@/etc/usr/artifacts/android-artifact-aab/${{ needs.buildAndroid.outputs.AAB_FILE_NAME }}" + run: curl -u "$BROWSERSTACK" -X POST "https://api-cloud.browserstack.com/app-live/upload" -F "file=@/tmp/artifacts/android-artifact-aab/${{ needs.buildAndroid.outputs.AAB_FILE_NAME }}" env: BROWSERSTACK: ${{ secrets.BROWSERSTACK }} @@ -136,12 +136,12 @@ jobs: - name: Download Android build artifacts uses: actions/download-artifact@v4 with: - path: /etc/usr/artifacts + path: /tmp/artifacts pattern: android-artifact-* merge-multiple: true - name: Log downloaded artifact paths - run: ls -R /etc/usr/artifacts + run: ls -R /tmp/artifacts - name: Submit Android build for review run: bundle exec fastlane android upload_google_play_production diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index ea0bdbb2c531..b2539f8e47da 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -83,12 +83,12 @@ jobs: - name: Download Android build artifacts uses: actions/download-artifact@v4 with: - path: /etc/usr/artifacts + path: /tmp/artifacts pattern: android-artifact-* merge-multiple: true - name: Log downloaded artifact paths - run: ls -R /etc/usr/artifacts + run: ls -R /tmp/artifacts - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 @@ -100,6 +100,7 @@ jobs: - name: Upload AdHoc build to S3 run: bundle exec fastlane android upload_s3 env: + apkPath: /tmp/artifacts/android-artifact-apk/${{ needs.buildAndroid.outputs.APK_FILE_NAME }} S3_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_ID }} S3_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} S3_BUCKET: ad-hoc-expensify-cash