diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c1eb042892..9d11d06d0e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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() @@ -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()