mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 00:31:51 +01:00
Perform build check on push, move Gradle wrapper validation into build action
This commit is contained in:
parent
88aea311f8
commit
274f0edd76
@ -1,5 +1,5 @@
|
|||||||
name: Pull request build check
|
name: Build check
|
||||||
on: [pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -8,11 +8,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Validate Gradle Wrapper
|
||||||
|
uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 1.8
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
- name: Install NDK
|
- name: Install NDK
|
||||||
run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669"
|
run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" &> /dev/null
|
||||||
- name: Build project
|
|
||||||
run: ./gradlew assembleDebug
|
- name: Build app
|
||||||
|
run: ./gradlew assembleStandardDebug
|
11
.github/workflows/gradle-wrapper-validation.yml
vendored
11
.github/workflows/gradle-wrapper-validation.yml
vendored
@ -1,11 +0,0 @@
|
|||||||
name: Validate Gradle Wrapper
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
validation:
|
|
||||||
name: Validation
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
|
Loading…
Reference in New Issue
Block a user