mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
Update to Ruby 2.7/Bundler 2.x. (#31296)
This commit is contained in:
parent
cc49a5b506
commit
0ec2ce44b4
12
.github/workflows/docs.yml
vendored
12
.github/workflows/docs.yml
vendored
@ -3,7 +3,7 @@ on: [push, pull_request]
|
||||
env:
|
||||
CI: true
|
||||
NODE: 12.x
|
||||
RUBY: 2.6.x
|
||||
RUBY: 2.7.x
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
@ -23,8 +23,11 @@ jobs:
|
||||
with:
|
||||
ruby-version: ${{ env.RUBY }}
|
||||
|
||||
- name: Disable gem docs
|
||||
run: 'echo "gem: --no-document" > ~/.gemrc'
|
||||
- name: Set up Ruby env
|
||||
run: |
|
||||
echo "gem: --no-document" > ~/.gemrc # Disable gem docs
|
||||
bundle config set clean 'true'
|
||||
bundle config set deployment 'true'
|
||||
|
||||
- name: Set up Ruby cache
|
||||
uses: actions/cache@v2
|
||||
@ -44,9 +47,6 @@ jobs:
|
||||
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
|
||||
${{ runner.OS }}-node-v${{ env.NODE }}-
|
||||
|
||||
- name: Set up Bundler
|
||||
run: gem install bundler -v "~> 1.17"
|
||||
|
||||
- run: ruby --version
|
||||
- run: gem --version
|
||||
- run: bundle --version
|
||||
|
@ -86,4 +86,4 @@ DEPENDENCIES
|
||||
wdm (~> 0.1.1)
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.3
|
||||
2.1.4
|
||||
|
Loading…
Reference in New Issue
Block a user