Create android_test.yml
This commit is contained in:
committed by
GitHub Enterprise
parent
8dc43ed422
commit
3d11a37224
27
.github/workflows/android_test.yml
vendored
Normal file
27
.github/workflows/android_test.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Android Test CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ feature/git-actions ]
|
||||
pull_request:
|
||||
branches: [ feature/git-actions ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: [ self-hosted ]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
cache: gradle
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
Reference in New Issue
Block a user