mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +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:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
NODE: 12.x
|
NODE: 12.x
|
||||||
RUBY: 2.6.x
|
RUBY: 2.7.x
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
docs:
|
||||||
@ -23,8 +23,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ruby-version: ${{ env.RUBY }}
|
ruby-version: ${{ env.RUBY }}
|
||||||
|
|
||||||
- name: Disable gem docs
|
- name: Set up Ruby env
|
||||||
run: 'echo "gem: --no-document" > ~/.gemrc'
|
run: |
|
||||||
|
echo "gem: --no-document" > ~/.gemrc # Disable gem docs
|
||||||
|
bundle config set clean 'true'
|
||||||
|
bundle config set deployment 'true'
|
||||||
|
|
||||||
- name: Set up Ruby cache
|
- name: Set up Ruby cache
|
||||||
uses: actions/cache@v2
|
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 }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
|
||||||
${{ runner.OS }}-node-v${{ env.NODE }}-
|
${{ runner.OS }}-node-v${{ env.NODE }}-
|
||||||
|
|
||||||
- name: Set up Bundler
|
|
||||||
run: gem install bundler -v "~> 1.17"
|
|
||||||
|
|
||||||
- run: ruby --version
|
- run: ruby --version
|
||||||
- run: gem --version
|
- run: gem --version
|
||||||
- run: bundle --version
|
- run: bundle --version
|
||||||
|
@ -86,4 +86,4 @@ DEPENDENCIES
|
|||||||
wdm (~> 0.1.1)
|
wdm (~> 0.1.1)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.17.3
|
2.1.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user