From 6601f9a06cd3bafbfd09dddf90fc65484bdbc9b6 Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 18 Feb 2020 11:45:29 +0800 Subject: [PATCH] Revert workflow main.yml --- .github/workflows/main.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 70e881e1f..fa162c885 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,16 +8,10 @@ jobs: 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 + - uses: actions/checkout@v1 + - 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 +