build: use newer xCode image (#25564)

* build: use newer xCode image

* build: log changed file paths
This commit is contained in:
Samuel Attard 2020-09-22 02:19:00 -07:00 committed by GitHub
parent c50ded2b71
commit dae60e01d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -85,17 +85,17 @@ machine-linux-2xlarge: &machine-linux-2xlarge
machine-mac: &machine-mac
macos:
xcode: "11.5.0"
xcode: "12.2.0"
machine-mac-large: &machine-mac-large
resource_class: large
macos:
xcode: "11.5.0"
xcode: "12.2.0"
machine-mac-large-arm: &machine-mac-large-arm
resource_class: large
macos:
xcode: "12.0.0-large"
xcode: "12.2.0"
# Build configurations options.
env-testing-build: &env-testing-build

View file

@ -32,6 +32,8 @@ async function checkIfDocOnlyChange () {
owner: 'electron', repo: 'electron', pull_number: pullRequestNumber
});
console.log('Changed Files:', filesChanged.data.map(fileInfo => fileInfo.filename));
const nonDocChange = filesChanged.data.find((fileInfo) => {
const fileDirs = fileInfo.filename.split('/');
if (fileDirs[0] !== 'docs') {