Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyTangAndroid committed May 5, 2022
1 parent 7432a98 commit ad378b9
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: Android CI

on: [push]

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
- uses: actions/[email protected]
- name: set up Java 11
uses: actions/[email protected]
with:
distribution: 'adopt-openj9'
java-version: 11
- name: Build with Gradle
run: ./gradlew :sample:assembleDebug

0 comments on commit ad378b9

Please sign in to comment.