mirai/.github/workflows/main.yml

24 lines
641 B
YAML
Raw Normal View History

2019-12-15 16:47:58 +08:00
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
2020-02-17 16:23:02 +08:00
- name: Setup Java JDK
uses: actions/setup-java@v1.3.0
with:
# The Java version to make available on the path. Takes a whole or semver Java version, or 1.x syntax (e.g. 1.8 => Java 8.x)
2020-02-17 16:28:10 +08:00
java-version: 11
2020-02-17 16:23:02 +08:00
# The package type (jre, jdk, jdk+fx)
java-package: jdk+fx
2019-12-15 17:09:23 +08:00
- name: setup-android
uses: msfjarvis/setup-android@0.2
with:
# Gradle tasks to run - If you want to run ./gradlew assemble, specify assemble here.
2019-12-16 07:11:19 +08:00
gradleTasks: build -x mirai-core:jvmTest