Skip to content

Commit df0d258

Browse files
committed
🔧 Maintenance: update upload.yml
1 parent 72c7e88 commit df0d258

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/upload.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ jobs:
2121
- name: Install dependencies
2222
run: npm install
2323

24-
- name: Build the APK
24+
- name: Authenticate with EAS
2525
run: |
26-
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
27-
cd android && ./gradlew assembleRelease
26+
echo "{\"cli\": {\"username\": \"${{ secrets.EAS_USERNAME }}\",\"password\": \"${{ secrets.EAS_PASSWORD }}\"}}" > ~/.eas.json
27+
npx eas-cli login
28+
29+
- name: Build the app
30+
run: |
31+
npx eas-cli build -p android
2832
2933
- name: Upload the APK to Uploadcare
3034
run: |

0 commit comments

Comments
 (0)