Skip to content

Commit 784f5e0

Browse files
authored
Update build.yml
1 parent 9331364 commit 784f5e0

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,24 @@ jobs:
2525
java-version: '17'
2626
distribution: 'temurin'
2727

28-
- name: Setup Expo
29-
uses: expo/expo-github-action@v8
30-
with:
31-
expo-version: latest
32-
eas-version: latest
33-
token: ${{ secrets.EXPO_TOKEN }}
34-
3528
- name: Install dependencies
3629
run: npm install
3730

38-
- name: Build APK (local, no Expo servers)
31+
- name: Install Expo CLI
32+
run: npm install -g expo-cli @expo/ngrok
33+
34+
- name: Prebuild Android
35+
run: npx expo prebuild --platform android --clean --no-install
36+
37+
- name: Make gradlew executable
38+
run: chmod +x android/gradlew
39+
40+
- name: Build APK
3941
run: |
40-
npx expo prebuild --platform android --clean
4142
cd android
4243
./gradlew assembleRelease --no-daemon
4344
44-
- name: Upload APK artifact
45+
- name: Upload APK
4546
uses: actions/upload-artifact@v4
4647
with:
4748
name: TaskManagerPlus-APK

0 commit comments

Comments
 (0)