浏览代码

[skip ci] Update gradle-command-action

arkon 3 年之前
父节点
当前提交
7de4226d80
共有 2 个文件被更改,包括 2 次插入8 次删除
  1. 1 4
      .github/workflows/build_pull_request.yml
  2. 1 4
      .github/workflows/build_push.yml

+ 1 - 4
.github/workflows/build_pull_request.yml

@@ -28,9 +28,6 @@ jobs:
           cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
 
       - name: Build app
-        uses: gradle/gradle-command-action@v1
+        uses: gradle/gradle-command-action@v2
         with:
           arguments: assembleStandardRelease
-          distributions-cache-enabled: true
-          dependencies-cache-enabled: true
-          configuration-cache-enabled: true

+ 1 - 4
.github/workflows/build_push.yml

@@ -34,12 +34,9 @@ jobs:
           cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
 
       - name: Build app
-        uses: gradle/gradle-command-action@v1
+        uses: gradle/gradle-command-action@v2
         with:
           arguments: assembleStandardRelease
-          distributions-cache-enabled: true
-          dependencies-cache-enabled: true
-          configuration-cache-enabled: true
 
       # Sign APK and create release for tags