mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-24 04:59:47 -05:00
only cache Homebrew's cache, not the git repo
On newer macOS images, restoring Homebrew's git repo doesn't work correctly.
This commit is contained in:
parent
8c0ae87f89
commit
2af19f9cc4
1 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ jobs:
|
||||||
# than a minute most of the time. The cache will expire periodically and be replaced by a more up-to-date
|
# than a minute most of the time. The cache will expire periodically and be replaced by a more up-to-date
|
||||||
# cache, which should effectively cap the amount of updating that Homebrew needs to do on top of the cache.
|
# cache, which should effectively cap the amount of updating that Homebrew needs to do on top of the cache.
|
||||||
name: Restore Homebrew cache
|
name: Restore Homebrew cache
|
||||||
key: homebrew-cache-v1
|
key: homebrew-cache-v2
|
||||||
- run:
|
- run:
|
||||||
name: Work around electron-userland/electron-builder#4964
|
name: Work around electron-userland/electron-builder#4964
|
||||||
command: |
|
command: |
|
||||||
|
@ -68,8 +68,8 @@ jobs:
|
||||||
name: Save Homebrew cache
|
name: Save Homebrew cache
|
||||||
paths:
|
paths:
|
||||||
- ~/Library/Caches/Homebrew
|
- ~/Library/Caches/Homebrew
|
||||||
- /usr/local/Homebrew
|
- /Library/Caches/Homebrew
|
||||||
key: homebrew-cache-v1
|
key: homebrew-cache-v2
|
||||||
- build
|
- build
|
||||||
- run:
|
- run:
|
||||||
name: Move DMG to artifacts directory
|
name: Move DMG to artifacts directory
|
||||||
|
|
Loading…
Reference in a new issue