Browse Source

Chore: bump setup-java action & Remove setup-android action (#1188)

* Bump setup-java action to v2

* Remove setup-android action

* Remove ignore rules under github folder
Goooler 4 years ago
parent
commit
1ea3a5b682
1 changed files with 2 additions and 5 deletions
  1. 2 5
      .github/workflows/build-unsigned.yaml

+ 2 - 5
.github/workflows/build-unsigned.yaml

@@ -4,7 +4,6 @@ on:
     branches:
       - main
     paths-ignore:
-      - '.github/**'
       - '.idea/**'
       - '.gitignore'
       - '.gitmodules'
@@ -13,7 +12,6 @@ on:
       - 'NOTICE'
   pull_request:
     paths-ignore:
-      - '.github/**'
       - '.idea/**'
       - '.gitignore'
       - '.gitmodules'
@@ -29,14 +27,13 @@ jobs:
         with:
           submodules: recursive
       - name: Setup Java
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 11
       - name: Setup Go
         uses: actions/setup-go@v2
         with:
           go-version: 1.17
-      - name: Setup Android SDK
-        uses: android-actions/setup-android@v2
       - name: Build
         run: ./gradlew --no-daemon app:assembleFossRelease