Skip to content

Commit

Permalink
ci: upload recordings to gcs
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev committed Apr 2, 2024
1 parent 4a9b221 commit ccc365b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ jobs:
name: android-recordings
path: android-recordings

# Upload recordings to GCS bucket
- uses: "google-github-actions/auth@v2"
if: always()
with:
credentials_json: "${{ secrets.BUILD_ARTIFACTS_BUCKET_KEY }}"
- uses: "google-github-actions/upload-cloud-storage@v2"
if: always()
with:
path: android-recordings
destination: gs://galoy-build-artifacts/android-recordings/${{ github.run_id }}

# Cleanup
- name: Terminate Metro
if: always()
Expand Down Expand Up @@ -179,6 +190,17 @@ jobs:
name: ios-recordings
path: ios-recordings

# Upload recordings to GCS bucket
- uses: "google-github-actions/auth@v2"
if: always()
with:
credentials_json: "${{ secrets.BUILD_ARTIFACTS_BUCKET_KEY }}"
- uses: "google-github-actions/upload-cloud-storage@v2"
if: always()
with:
path: ios-recordings
destination: gs://galoy-build-artifacts/ios-recordings/${{ github.run_id }}

# Cleanup
- name: Cleanup
if: always()
Expand Down

0 comments on commit ccc365b

Please sign in to comment.