Skip to content

Commit

Permalink
Update android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mo7amedaliEbaid authored May 26, 2024
1 parent 9b328f6 commit bf44a61
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -20,7 +19,17 @@ jobs:
distribution: 'temurin'
cache: gradle

- name: Check if Gradle Wrapper Exists
run: |
if [ ! -f ./gradlew ]; then
echo "Gradle wrapper not found, generating..."
gradle wrapper
else
echo "Gradle wrapper found."
fi
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build

0 comments on commit bf44a61

Please sign in to comment.