Skip to content

Commit

Permalink
add workaround for macos github actions cache issue (anchore#1584)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman authored Feb 17, 2023
1 parent 2aec02c commit da0c8ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ jobs:
steps:
- uses: actions/checkout@v3

# TODO: remove this when actions/cache + mac runner is fixed
# see https://github.com/actions/cache/issues/1110
- name: Downgrade zstd on macOS
run: |
brew uninstall --ignore-dependencies zstd
git -C "$(brew --repo homebrew/core)" checkout d3f04bd Formula/zstd.rb
brew install zstd
- name: Download snapshot build
uses: actions/cache/restore@v3
with:
Expand Down

0 comments on commit da0c8ed

Please sign in to comment.