diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 0240050..50f395b 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -7,6 +7,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - id: brew_cache + run: echo "::set-output name=dir::$(brew --cache)" + - uses: actions/cache@v2 + with: + path: ${{ steps.brew_cache.outputs.dir }} + key: brew-${{ hashFiles('**/Brewfile.lock.json') }} + restore-keys: brew- - uses: actions/setup-node@v2 with: { node-version: lts/*, cache: yarn } - name: Git config