Skip to content

Commit

Permalink
Add caching to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Apr 29, 2020
1 parent 24bea50 commit 99ef010
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Cache cache directory
uses: actions/cache@v1
env:
cache-name: cache-cache-dir
with:
path: ~/.cache
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
Expand Down

0 comments on commit 99ef010

Please sign in to comment.