mirai/.github/workflows/main.yml

24 lines
609 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
2020-02-17 16:31:00 +08:00
- name: Gradle Command
uses: eskatos/gradle-command-action@v1
2019-12-15 17:09:23 +08:00
with:
2020-02-17 16:31:00 +08:00
# Gradle command line arguments, see gradle --help
arguments: build -x mirai-core:jvmTest