Skip to content

Commit

Permalink
Checkout repo
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Nov 22, 2024
1 parent f6daa12 commit 4ba9744
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: 'Get Android Rollout percentage'
description: 'Gets the current Android track rollout percentage.'
inputs:
GITHUB_TOKEN:
description: Auth token for New Expensify Github
required: true
GOOGLE_KEY_FILE:
description: Authentication file for Google Cloud API
required: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import * as core from '@actions/core';
import {google} from 'googleapis';
import CONST from '@github/libs/CONST';
import GithubUtils from '@github/libs/GithubUtils';

const PACKAGE_NAME = core.getInput('PACKAGE_NAME', {required: true});
const GOOGLE_KEY_FILE = core.getInput('GOOGLE_KEY_FILE', {required: true});
const HALTED_STATUS = 'halted';

async function getAndroidRolloutPercentage() {
const auth = new google.auth.GoogleAuth({
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ jobs:
run:
working-directory: Mobile-Expensify/react-native
steps:
- name: Checkout
- name: Checkout App repo
uses: actions/checkout@v4

- name: Checkout Mobile-Expensify repo
uses: actions/checkout@v4
with:
repository: 'Expensify/Mobile-Expensify'
Expand Down Expand Up @@ -266,7 +269,6 @@ jobs:
with:
GOOGLE_KEY_FILE: android/app/android-fastlane-json-key.json
PACKAGE_NAME: org.me.mobiexpensifyg
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Submit production build for Google Play review and a slow rollout
if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
Expand Down Expand Up @@ -614,6 +616,7 @@ jobs:
- name: Submit production build for App Store review and a slow rollout
if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
run: |
ls -laR .
# Complete the previous version rollout
bundle exec fastlane ios complete_hybrid_rollout
Expand Down

0 comments on commit 4ba9744

Please sign in to comment.