Skip to content

Commit

Permalink
added permission before checking jar file
Browse files Browse the repository at this point in the history
  • Loading branch information
lucienshema committed Nov 13, 2024
1 parent 6ac1a7e commit d840f19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
distribution: 'adopt' # See 'Supported distributions' for available options
java-version: '21.0.4+7.0.LTS'

# Ensure wrapper permissions before checking for gradle-wrapper.jar
- name: Change wrapper permissions
run: chmod +x ./gradlew

# Check for gradle-wrapper.jar and regenerate wrapper if missing
- name: Check and regenerate Gradle wrapper if missing
run: |
Expand All @@ -46,10 +50,6 @@ jobs:
./gradlew wrapper
fi
# Change wrapper permissions
- name: Change wrapper permissions
run: chmod +x ./gradlew

# Run Build Project
- name: Build gradle project
run: ./gradlew build
Expand Down

0 comments on commit d840f19

Please sign in to comment.