Skip to content

Commit

Permalink
fix artifact paths
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Oct 1, 2024
1 parent 45a589d commit 3cae22f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/testBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3cae22f

Please sign in to comment.