Browse Source

build: use newer xCode image (#25571)

* build: use newer xCode image

* build: log changed file paths

Co-authored-by: Samuel Attard <[email protected]>
Co-authored-by: Samuel Attard <[email protected]>
trop[bot] 4 years ago
parent
commit
07ec50b547
2 changed files with 5 additions and 3 deletions
  1. 3 3
      .circleci/config.yml
  2. 2 0
      script/doc-only-change.js

+ 3 - 3
.circleci/config.yml

@@ -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

+ 2 - 0
script/doc-only-change.js

@@ -34,6 +34,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') {