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

Update ruby setup actions (fix #306)

No longer tracking Gemfile.lock
This commit is contained in:
Cotes Chung
2021-04-01 04:17:18 +08:00
parent 99c12f6cd4
commit 4973a61e39
4 changed files with 6 additions and 159 deletions

View File

@@ -13,9 +13,6 @@ jobs:
runs-on: ubuntu-latest
env:
GEMS_PATH: vendor/bundle
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -23,22 +20,10 @@ jobs:
fetch-depth: 0 # for posts's lastmod
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Bundle Caching
uses: actions/cache@v2
with:
path: ${{ env.GEMS_PATH }}
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle Install
run: |
bundle config path ${{ env.GEMS_PATH }}
bundle install --jobs 4 --retry 3
bundler-cache: true
- name: Check baseurl
run: |