github: stop disabling configuration cache in CI
This commit is contained in:
parent
98f49e7b69
commit
f53fe04196
8 changed files with 16 additions and 16 deletions
2
.github/workflows/deploy_github_releases.yml
vendored
2
.github/workflows/deploy_github_releases.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
- name: Build release binaries
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache :app:assembleFreeRelease :app:assembleNonFreeRelease :app:bundleNonFreeRelease
|
||||
arguments: :app:assembleFreeRelease :app:assembleNonFreeRelease :app:bundleNonFreeRelease
|
||||
env:
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
- name: Upload binaries
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository
|
||||
arguments: :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
- name: Close and release repository
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache closeAndReleaseRepository
|
||||
arguments: closeAndReleaseRepository
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
|
||||
|
|
2
.github/workflows/deploy_snapshot.yml
vendored
2
.github/workflows/deploy_snapshot.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
with:
|
||||
arguments: --no-configuration-cache collectFreeReleaseApks collectNonFreeReleaseApks -PsentryUploadMappings
|
||||
arguments: collectFreeReleaseApks collectNonFreeReleaseApks -PsentryUploadMappings
|
||||
|
||||
- name: Clean secrets
|
||||
run: scripts/signing-cleanup.sh
|
||||
|
|
4
.github/workflows/draft_new_release.yml
vendored
4
.github/workflows/draft_new_release.yml
vendored
|
@ -69,9 +69,9 @@ jobs:
|
|||
# that the version number is already correct, and we only need to drop the
|
||||
# -SNAPSHOT suffix.
|
||||
if [[ "${CHECKOUT_REF}" == "develop" ]]; then
|
||||
./gradlew --no-configuration-cache --no-daemon clearPreRelease
|
||||
./gradlew --no-daemon clearPreRelease
|
||||
else
|
||||
./gradlew --no-configuration-cache --no-daemon bumpPatch
|
||||
./gradlew --no-daemon bumpPatch
|
||||
fi
|
||||
|
||||
# Commit changes to the versioning
|
||||
|
|
12
.github/workflows/pull_request.yml
vendored
12
.github/workflows/pull_request.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache spotlessCheck
|
||||
arguments: spotlessCheck
|
||||
|
||||
unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache test -PslimTests
|
||||
arguments: test -PslimTests
|
||||
|
||||
- name: (Fail-only) Upload test report
|
||||
if: "${{ failure() }}"
|
||||
|
@ -117,7 +117,7 @@ jobs:
|
|||
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache assembleFreeDebug assembleNonFreeDebug
|
||||
arguments: assembleFreeDebug assembleNonFreeDebug
|
||||
|
||||
check-api:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -151,7 +151,7 @@ jobs:
|
|||
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache apiCheck
|
||||
arguments: apiCheck
|
||||
|
||||
lint-debug:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -185,7 +185,7 @@ jobs:
|
|||
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache lintDebug
|
||||
arguments: lintDebug
|
||||
|
||||
assemble-release-apks:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -219,4 +219,4 @@ jobs:
|
|||
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache aNFR
|
||||
arguments: aNFR
|
||||
|
|
2
.github/workflows/shadow_job.yml
vendored
2
.github/workflows/shadow_job.yml
vendored
|
@ -44,4 +44,4 @@ jobs:
|
|||
env:
|
||||
GRADLE_VERSION_OVERRIDE_com_android_tools_build_gradle: ${{ matrix.agp-version }}
|
||||
with:
|
||||
arguments: --no-configuration-cache check
|
||||
arguments: check
|
||||
|
|
2
.github/workflows/sync_crowdin.yml
vendored
2
.github/workflows/sync_crowdin.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: Download new translations from Crowdin
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache crowdin
|
||||
arguments: crowdin
|
||||
env:
|
||||
CROWDIN_LOGIN: ${{ secrets.CROWDIN_LOGIN }}
|
||||
CROWDIN_PROJECT_KEY: ${{ secrets.CROWDIN_PROJECT_KEY }}
|
||||
|
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: Download new publicsuffix data
|
||||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
with:
|
||||
arguments: --no-configuration-cache updatePSL
|
||||
arguments: updatePSL
|
||||
|
||||
- name: Compare list changes
|
||||
run: if [[ $(git diff --binary --stat) != "" ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
|
||||
|
@ -29,7 +29,7 @@ jobs:
|
|||
uses: gradle/gradle-build-action@v2.2.0-beta.1
|
||||
if: "${{ env.UPDATED == 'true' }}"
|
||||
with:
|
||||
arguments: --no-configuration-cache :autofill-parser:test -PslimTests
|
||||
arguments: :autofill-parser:test -PslimTests
|
||||
|
||||
- name: Create Pull Request
|
||||
id: cpr
|
||||
|
|
Loading…
Reference in a new issue