0
0
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:
XhmikosR 2020-08-02 16:26:19 +03:00 committed by GitHub
parent cc49a5b506
commit 0ec2ce44b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -86,4 +86,4 @@ DEPENDENCIES
wdm (~> 0.1.1)
BUNDLED WITH
1.17.3
2.1.4