Unverified Commit eb126d77 authored by Daz DeBoer's avatar Daz DeBoer Committed by GitHub
Browse files

Update for Gradle 8.1 release

With Gradle 8.1, the configuration-cache has changed and is now stable. 
As a temporary measure, this commit disables save/restore of the configuration-cache
data to avoid issues until we can deal with this change properly.
parent 5056fa9d
Loading
Loading
Loading
Loading
+4 −4
Changes for .github/workflows/ci-full-check.yml: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -44,10 +44,10 @@ jobs:
    with:
      cache-key-prefix: ${{github.run_number}}-

  restore-configuration-cache:
    uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
    with:
      cache-key-prefix: ${{github.run_number}}-
  # restore-configuration-cache:
  #   uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
  #   with:
  #     cache-key-prefix: ${{github.run_number}}-

  restore-custom-gradle-home:
    uses: ./.github/workflows/integ-test-restore-custom-gradle-home.yml
+6 −6
Changes for .github/workflows/ci-quick-check.yml: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -71,12 +71,12 @@ jobs:
      runner-os: '["ubuntu-latest"]'
      download-dist: true

  restore-configuration-cache:
    needs: build-distribution
    uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
    with:
      runner-os: '["ubuntu-latest"]'
      download-dist: true
  # restore-configuration-cache:
  #   needs: build-distribution
  #   uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
  #   with:
  #     runner-os: '["ubuntu-latest"]'
  #     download-dist: true

  restore-containerized-gradle-home:
    needs: build-distribution
+2 −1
Changes for README.md: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -252,9 +252,10 @@ gradle-home-cache-includes: |
    caches
    notifications
    jdks
# Exclude the local build-cache from the directories cached.
# Exclude the local build-cache and keyrings from the directories cached.
gradle-home-cache-excludes: |
    caches/build-cache-1
    caches/keyrings
```

You can specify any number of fixed paths or patterns to include or exclude. 
+2 −4
Changes for dist/main/index.js: 2 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -63664,7 +63664,6 @@ class GradleStateCache {
        return __awaiter(this, void 0, void 0, function* () {
            yield this.debugReportGradleUserHomeSize('as restored from cache');
            yield new cache_extract_entries_1.GradleHomeEntryExtractor(this.gradleUserHome).restore(listener);
            yield new cache_extract_entries_1.ConfigurationCacheEntryExtractor(this.gradleUserHome).restore(listener);
            yield this.debugReportGradleUserHomeSize('after restoring common artifacts');
        });
    }
@@ -63703,8 +63702,7 @@ class GradleStateCache {
            yield this.debugReportGradleUserHomeSize('before saving common artifacts');
            this.deleteExcludedPaths();
            yield Promise.all([
                new cache_extract_entries_1.GradleHomeEntryExtractor(this.gradleUserHome).extract(listener),
                new cache_extract_entries_1.ConfigurationCacheEntryExtractor(this.gradleUserHome).extract(listener)
                new cache_extract_entries_1.GradleHomeEntryExtractor(this.gradleUserHome).extract(listener)
            ]);
            yield this.debugReportGradleUserHomeSize("after extracting common artifacts (only 'caches' and 'notifications' will be stored)");
        });
@@ -64449,7 +64447,7 @@ const exec = __importStar(__nccwpck_require__(1514));
const crypto = __importStar(__nccwpck_require__(6113));
const path = __importStar(__nccwpck_require__(1017));
const fs = __importStar(__nccwpck_require__(7147));
const CACHE_PROTOCOL_VERSION = 'v6-';
const CACHE_PROTOCOL_VERSION = 'v7-';
const JOB_CONTEXT_PARAMETER = 'workflow-job-context';
const CACHE_DISABLED_PARAMETER = 'cache-disabled';
const CACHE_READONLY_PARAMETER = 'cache-read-only';
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

Loading