More e2e tests (#2124) #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update samples | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
if: github.repository == 'mobile-dev-inc/maestro' | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Authenticate to Google Cloud | |
uses: google-github-actions/auth@v2 | |
with: | |
# These credentials should only have write access to the bucket | |
credentials_json: ${{ secrets.GCP_MOBILEDEV_BUCKET_CREDENTIALS }} | |
- name: Set up Google Cloud CLI | |
uses: google-github-actions/setup-gcloud@v2 | |
with: | |
version: '>= 484.0.0' | |
project_id: perf-dev-289002 | |
- name: Upload samples to public Google Cloud Storage bucket | |
run: | | |
cd e2e/ | |
./update_samples |