Skip to content

Commit

Permalink
[expo] use inputs.config
Browse files Browse the repository at this point in the history
**Summary**

fix.

**Test**

- N/A

**Issue**

- N/A
  • Loading branch information
yssk22 committed Oct 21, 2023
1 parent 03551e4 commit b0ca896
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/eas-build-local-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build:
runs-on: macos-latest
environment:
name: eas-build-local-dev
name: eas-build-local-${{inputs.config}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -28,15 +28,15 @@ jobs:
token: ${{ secrets.EXPO_TOKEN }}
- run: yarn global add eas-cli-local-build-plugin
- run: cd expo && yarn install
- run: rm expo/config/dev/.gitignore
- run: rm expo/config/${{inputs.config}}/.gitignore
- run: echo -n "${{ secrets.GOOGLE_SERVICE_INFO_PLIST }}" | base64 --decode > expo/config/${{inputs.config}}/GoogleService-Info.plist
- run: echo -n "${{ secrets.SECRETS_JSON }}" | base64 --decode > expo/config/${{inputs.config}}/secrets.json
- run: cp expo/config/dev/eas.json expo/eas.json
- run: cp expo/config/${{inputs.config}}/eas.json expo/eas.json
- run: |
cd expo && \
eas build --local --non-interactive --output=./app-ios --profile=dev --platform=ios
eas build --local --non-interactive --output=./app-ios --profile=${{inputs.config}} --platform=ios
env:
HPAPP_CONFIG_NAME: dev
HPAPP_CONFIG_NAME: ${{inputs.config}}
HPAPP_CONFIG_PLATFORM: ios
GOOGLE_SERVICES_FILE: config/${{inputs.config}}/GoogleService-Info.plist
- name: 📱 Upload binary
Expand Down

0 comments on commit b0ca896

Please sign in to comment.