diff --git a/.github/workflows/eas-build-local-ios.yml b/.github/workflows/eas-build-local-ios.yml index 4116cfaf..1202164b 100644 --- a/.github/workflows/eas-build-local-ios.yml +++ b/.github/workflows/eas-build-local-ios.yml @@ -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 @@ -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