1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Fix gh-actions cache not being hit issue (#191)

This commit is contained in:
Cotes Chung
2020-12-06 23:12:20 +08:00
parent cbf707dc56
commit 8d4c555638
6 changed files with 129 additions and 9 deletions

View File

@@ -25,13 +25,13 @@ jobs:
- name: Setup Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
ruby-version: 2.7
- name: Bundle Caching
uses: actions/cache@v2
with:
path: ${{ env.GEMS_PATH }}
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
@@ -65,7 +65,7 @@ jobs:
else
bash tools/test.sh
fi
- name: Deploy
run: |
bash tools/deploy.sh