Skip to content

Commit

Permalink
ci: run gradle assemble instead of build (#1544)
Browse files Browse the repository at this point in the history
* update actions/checkout to v4 and setup-java to v3

* add gradle-build action and replace build with assemble
  • Loading branch information
thatfiredev committed Oct 31, 2023
1 parent 5759cc0 commit 57f4ab9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 17
uses: actions/setup-java@v1
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Check Snippets
run: python scripts/checksnippets.py
- name: Copy mock google_services.json
Expand All @@ -21,5 +24,5 @@ jobs:
run: ./build_pull_request.sh
if: github.event_name == 'pull_request'
- name: Build with Gradle (Push)
run: ./gradlew clean ktlint build
run: ./gradlew clean ktlint assemble
if: github.event_name != 'pull_request'

0 comments on commit 57f4ab9

Please sign in to comment.