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:
parent
1d1d04f4a4
commit
1e9fa204ee
2 changed files with 7 additions and 1 deletions
|
@ -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)) {
|
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"
|
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: >-
|
- ps: >-
|
||||||
if ($env:GN_CONFIG -ne 'release') {
|
if ($env:GN_CONFIG -ne 'release') {
|
||||||
|
|
|
@ -3,7 +3,7 @@ const fs = require('fs')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
// Fallback to blow away old cache keys
|
// Fallback to blow away old cache keys
|
||||||
const HASH_VERSION = 1
|
const HASH_VERSION = 2
|
||||||
|
|
||||||
// Base files to hash
|
// Base files to hash
|
||||||
const filesToHash = [
|
const filesToHash = [
|
||||||
|
|
Loading…
Reference in a new issue