File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -35,23 +35,19 @@ jobs:
35
35
- name : Install Expo CLI and EAS CLI
36
36
run : npm install -g expo-cli eas-cli
37
37
38
- # Step 6: Authenticate with EAS using the token
39
- - name : Authenticate with EAS
40
- env :
41
- EXPO_TOKEN : ${{ secrets.EXPO_TOKEN }}
42
- run : echo "$EXPO_TOKEN" | eas login --token -
43
-
44
- # Step 7: Install project dependencies with Yarn
38
+ # Step 6: Install project dependencies with Yarn
45
39
- name : Install dependencies
46
40
run : yarn install --frozen-lockfile
47
41
48
- # Step 8 : Build the Android APK using EAS
42
+ # Step 7 : Build the Android APK using EAS with EXPO_TOKEN for authentication
49
43
- name : Build Android app
44
+ env :
45
+ EXPO_TOKEN : ${{ secrets.EXPO_TOKEN }}
50
46
run : |
51
47
eas build --platform android --profile preview --local --output ${{ github.workspace }}/app-release.apk
52
48
continue-on-error : false # Ensures the job fails on build error
53
49
54
- # Step 9 : Upload the generated APK file as an artifact for download
50
+ # Step 8 : Upload the generated APK file as an artifact for download
55
51
- name : Upload APK artifact
56
52
if : success() # Run only if the build step succeeded
57
53
uses : actions/upload-artifact@v4 # Updated to v4 to avoid deprecation
You can’t perform that action at this time.
0 commit comments