build: restore workspace on osx builds to get docs-only-change file (#29465)

* build: restore workspace on osx builds to get docs-only-change file

* build: clean up attached workspace before checking out from cache
This commit is contained in:
Samuel Attard 2021-06-14 12:20:59 -07:00 committed by GitHub
parent 7019713126
commit 8b945cb296
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1399,6 +1399,8 @@ commands:
steps: steps:
- attach_workspace: - attach_workspace:
at: . at: .
- *step-maybe-early-exit-doc-only-change
- run: rm -rf src/electron
- *step-restore-brew-cache - *step-restore-brew-cache
- *step-install-gnutar-on-mac - *step-install-gnutar-on-mac
- *step-save-brew-cache - *step-save-brew-cache
@ -1992,7 +1994,7 @@ jobs:
persist: true persist: true
checkout: false checkout: false
checkout-and-assume-cache: true checkout-and-assume-cache: true
attach: false attach: true
osx-testing-x64-gn-check: osx-testing-x64-gn-check:
executor: executor:
@ -2057,7 +2059,7 @@ jobs:
persist: true persist: true
checkout: false checkout: false
checkout-and-assume-cache: true checkout-and-assume-cache: true
attach: false attach: true
mas-testing-x64: mas-testing-x64:
executor: macos executor: macos
@ -2073,7 +2075,7 @@ jobs:
persist: true persist: true
checkout: false checkout: false
checkout-and-assume-cache: true checkout-and-assume-cache: true
attach: false attach: true
mas-testing-x64-gn-check: mas-testing-x64-gn-check:
executor: executor:
@ -2139,7 +2141,7 @@ jobs:
persist: true persist: true
checkout: false checkout: false
checkout-and-assume-cache: true checkout-and-assume-cache: true
attach: false attach: true
# Layer 3: Tests. # Layer 3: Tests.
linux-x64-unittests: linux-x64-unittests: