diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e365cd46c..cad8de6b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,9 +9,15 @@ jobs: 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: 1.8 + # The package type (jre, jdk, jdk+fx) + java-package: jdk+fx - name: setup-android uses: msfjarvis/setup-android@0.2 with: # Gradle tasks to run - If you want to run ./gradlew assemble, specify assemble here. gradleTasks: build -x mirai-core:jvmTest -