[ci skip] Add remote build cache configuration through Gradle properties (#12797)

This commit is contained in:
Jason Penilla
2025-07-04 13:12:45 -07:00
committed by GitHub
parent 6e598f8527
commit f7d5a0a017
4 changed files with 36 additions and 8 deletions

View File

@@ -16,6 +16,12 @@ on:
jobs:
build:
env:
ORG_GRADLE_PROJECT_paperBuildCacheEnabled: true
ORG_GRADLE_PROJECT_paperBuildCacheUsername: ${{ secrets.PAPER_BUILD_CACHE_USERNAME }}
ORG_GRADLE_PROJECT_paperBuildCachePassword: ${{ secrets.PAPER_BUILD_CACHE_PASSWORD }}
ORG_GRADLE_PROJECT_paperBuildCachePush: true
# The goal of the build workflow is split into multiple requirements.
# 1. Run on pushes to same repo.
# 2. Run on PR open/reopen/syncs from repos that are not the same (PRs from the same repo are covered by 1)