ci: add third_party/angle/.git/HEAD to src archive (#22538)

* ci: add third_party/angle/.git/HEAD to src archive

* ci: blow old cache
This commit is contained in:
Cheng Zhao 2020-03-05 15:24:18 +09:00 committed by GitHub
parent 1d1d04f4a4
commit 1e9fa204ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -116,6 +116,12 @@ build_script:
if ($(7z a $zipfile src -xr!android_webview -xr!electron -xr'!*\.git' -xr!third_party\WebKit\LayoutTests! -xr!third_party\blink\web_tests -xr!third_party\blink\perf_tests -slp -t7z -mmt=30;$LASTEXITCODE -ne 0)) {
Write-warning "Could not save source to shared drive; continuing anyway"
}
# build time generation of file gen/angle/commit.h depends on
# third_party/angle/.git/HEAD.
# https://chromium-review.googlesource.com/c/angle/angle/+/2074924
if ($(7z a $zipfile third_party\angle\.git\HEAD;$LASTEXITCODE -ne 0)) {
Write-warning "Failed to add third_party\angle\.git\HEAD; continuing anyway"
}
}
- ps: >-
if ($env:GN_CONFIG -ne 'release') {

View file

@ -3,7 +3,7 @@ const fs = require('fs')
const path = require('path')
// Fallback to blow away old cache keys
const HASH_VERSION = 1
const HASH_VERSION = 2
// Base files to hash
const filesToHash = [