瀏覽代碼

Revert workflow main.yml

Him188 6 年之前
父節點
當前提交
6601f9a06c
共有 1 個文件被更改,包括 7 次插入13 次删除
  1. 7 13
      .github/workflows/main.yml

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

@@ -8,16 +8,10 @@ jobs:
     runs-on: ubuntu-latest
 
     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: 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
+      - uses: actions/checkout@v1
+      - 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
+