Explorar el Código

Update main.yml

Him188 hace 6 años
padre
commit
feb641057d
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      .github/workflows/main.yml

+ 7 - 1
.github/workflows/main.yml

@@ -9,9 +9,15 @@ jobs:
 
     steps:
     - uses: actions/checkout@v1
+    - name: Setup Java JDK
+      uses: actions/[email protected]
+      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/[email protected]
       with:
         # Gradle tasks to run - If you want to run ./gradlew assemble, specify assemble here. 
         gradleTasks: build -x mirai-core:jvmTest
-