mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 23:20:09 +08:00
24 lines
609 B
YAML
24 lines
609 B
YAML
name: CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- 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)
|
|
java-version: 11
|
|
# The package type (jre, jdk, jdk+fx)
|
|
java-package: jdk+fx
|
|
- name: Gradle Command
|
|
uses: eskatos/gradle-command-action@v1
|
|
with:
|
|
# Gradle command line arguments, see gradle --help
|
|
arguments: build -x mirai-core:jvmTest
|