1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-25 04:50:26 +08:00

Update main.yml

This commit is contained in:
Him188 2020-03-04 21:09:58 +08:00 committed by GitHub
parent b62151ea6e
commit 6ef7a62dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
name: CI
name: Gradle CI
on: [push]
on: [push, pull_request]
jobs:
build:
@ -8,7 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: setup-android
run: chmod 777 gradlew & ./gradlew build -x mirai-core:jvmTest
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build