Compile locale before build on CI, fix the google-services.json variable for android builds (#3001)
* compile intl before building, fix android json var * update intl:build
This commit is contained in:
parent
2a04546c73
commit
6717f8f11e
3 changed files with 9 additions and 2 deletions
6
.github/workflows/build-submit-android.yml
vendored
6
.github/workflows/build-submit-android.yml
vendored
|
@ -49,10 +49,14 @@ jobs:
|
|||
- name: ⚙️ Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: 🔤 Compile translations
|
||||
run: yarn intl:build
|
||||
|
||||
- name: ✏️ Write environment variables
|
||||
run: |
|
||||
export json='${{ secrets.GOOGLE_SERVICES_TOKEN }}'
|
||||
echo "${{ secrets.ENV_TOKEN }}" > .env
|
||||
echo "${{ secrets.GOOGLE_SERVICES_TOKEN }}" > google-services.json
|
||||
echo "$json" > google-services.json
|
||||
|
||||
- name: 🏗️ EAS Build
|
||||
run: yarn use-build-number eas build -p android --profile production --local --output build.aab --non-interactive
|
||||
|
|
3
.github/workflows/build-submit-ios.yml
vendored
3
.github/workflows/build-submit-ios.yml
vendored
|
@ -60,6 +60,9 @@ jobs:
|
|||
# change unless the yarn version changes as well.
|
||||
key: ${{ runner.os }}-pods-${{ hashFiles('yarn.lock') }}
|
||||
|
||||
- name: 🔤 Compile translations
|
||||
run: yarn intl:build
|
||||
|
||||
- name: ✏️ Write environment variables
|
||||
run: |
|
||||
echo "${{ secrets.ENV_TOKEN }}" > .env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue