Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveen authored Sep 23, 2024
1 parent 14591b8 commit de461fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3 # Updated to the latest version

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '21' # Adjust the Node.js version according to your project requirements
node-version: '18' # Consider using an LTS version

- name: Install dependencies
run: |
Expand All @@ -35,15 +35,15 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '22'
java-version: '17' # Consider downgrading to Java 17 for compatibility
distribution: 'temurin'
cache: gradle

- name: Build Android APK with Gradle
run: |
cd android
chmod +x ./gradlew # Ensure Gradle wrapper has executable permission
./gradlew assembleRelease
./gradlew assembleRelease --stacktrace # Added stacktrace for debugging
- name: Move APK to build directory
run: |
Expand Down

0 comments on commit de461fa

Please sign in to comment.