Created
June 18, 2019 21:59
-
-
Save hjhart/ec8d2484f19763dc22a73064a06308f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update_homebrew_formula: | |
description: Pulls in new homebrew formula and caches them | |
steps: | |
- run: | |
name: Set up Cache Key | |
command: date '+%Y %m %d' > ~/voom/dependency_checksum | |
- restore_cache: | |
keys: | |
- v3-homebrew-{{ .Branch }}-{{ checksum "~/voom/dependency_checksum" }} | |
- v3-homebrew-{{ .Branch }} | |
- run: | |
name: Update Homebrew formulas | |
command: brew update | |
- save_cache: | |
key: v3-homebrew-{{ .Branch }}-{{ checksum "~/voom/dependency_checksum" }} | |
paths: | |
- /usr/local/Homebrew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment