diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index e5bf494..f395777 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -31,5 +31,6 @@ jobs: uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee with: arguments: | + --build-cache build -Denterprise.tos.agree=yes diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb89eb4..9d0c953 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,6 +21,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: true - name: Set up JDK 11 uses: actions/setup-java@v3 with: @@ -33,6 +35,7 @@ jobs: uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee with: arguments: | + --build-cache build -Denterprise.tos.agree=yes @@ -42,6 +45,7 @@ jobs: uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee with: arguments: | + --build-cache publish -Denterprise.tos.agree=yes env: