Skip to content

Commit

Permalink
improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Aug 26, 2023
1 parent 3baa84b commit e6c0e5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/install-homebrew-valgrind/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ runs:
- run: |
sw_vers > valgrind_fingerprint
brew config >> valgrind_fingerprint
brew --version >> valgrind_fingerprint
git -C "$(brew --cache)/valgrind--git" rev-parse HEAD >> valgrind_fingerprint
cat valgrind_fingerprint
echo "CI_HOMEBREW_CELLAR_VALGRIND=$(brew --cellar valgrind)" >> "$GITHUB_ENV"
shell: bash
- uses: actions/cache@v3
id: cache
with:
# This is $(brew --cellar valgrind) but command substition does not work here.
path: /usr/local/Cellar/valgrind
path: ${{ env.CI_HOMEBREW_CELLAR_VALGRIND }}
key: ${{ github.job }}-valgrind-${{ hashFiles('valgrind_fingerprint') }}

- if: steps.cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit e6c0e5e

Please sign in to comment.