Skip to content

Commit

Permalink
Grant permission to run gradlew
Browse files Browse the repository at this point in the history
  • Loading branch information
etonotieno authored Sep 25, 2023
1 parent 77e21f4 commit 8c0f52e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Check Spotless
run: ./gradlew spotlessCheck
run: ./gradlew spotlessCheck detekt

- name: Check Detekt
run: ./gradlew detekt
Expand All @@ -54,6 +57,9 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Gradle assemble
run: ./gradlew assemble

Expand All @@ -63,6 +69,12 @@ jobs:
name: APKs
path: '**/build/outputs/apk/**/*.apk'

- name: Upload build reports
uses: actions/upload-artifact@v3
with:
name: build-reports
path: build/reports/

- name: Run local tests
run: ./gradlew test

Expand Down

0 comments on commit 8c0f52e

Please sign in to comment.