From 3d7a6489c0f8affb3e92f723ee72b930399f8b97 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 17 Jul 2021 11:23:29 +0900 Subject: [PATCH] =?UTF-8?q?brew=E3=81=AEcache=E3=82=92=E6=9C=89=E5=8A=B9?= =?UTF-8?q?=E5=8C=96=E3=81=99=E3=82=8B=E5=AE=9F=E9=A8=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/github-pages.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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