mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-12 09:54:25 +01:00
Actions: add gems caching
This commit is contained in:
parent
97e2e0da7c
commit
2d54fa9c3f
26
.github/workflows/test.yml
vendored
26
.github/workflows/test.yml
vendored
@ -30,15 +30,13 @@ jobs:
|
|||||||
- name: Disable gem docs
|
- name: Disable gem docs
|
||||||
run: 'echo "gem: --no-document" > ~/.gemrc'
|
run: 'echo "gem: --no-document" > ~/.gemrc'
|
||||||
|
|
||||||
- name: Set up Bundler
|
- name: Set up Ruby cache
|
||||||
run: gem install bundler -v "~> 1.17"
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
- run: ruby --version
|
path: vendor/bundle
|
||||||
- run: gem --version
|
key: ${{ runner.os }}-gem-${{ hashFiles('Gemfile') }}-${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('.github/workflows/test.yml') }}
|
||||||
- run: bundle --version
|
restore-keys: |
|
||||||
- run: node --version
|
${{ runner.os }}-gem-
|
||||||
- run: npm --version
|
|
||||||
- run: java -version
|
|
||||||
|
|
||||||
- name: Set up npm cache
|
- name: Set up npm cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
@ -50,6 +48,16 @@ jobs:
|
|||||||
${{ runner.OS }}-node-v{{ matrix.node }}-
|
${{ runner.OS }}-node-v{{ matrix.node }}-
|
||||||
${{ runner.OS }}-
|
${{ runner.OS }}-
|
||||||
|
|
||||||
|
- name: Set up Bundler
|
||||||
|
run: gem install bundler -v "~> 1.17"
|
||||||
|
|
||||||
|
- run: ruby --version
|
||||||
|
- run: gem --version
|
||||||
|
- run: bundle --version
|
||||||
|
- run: node --version
|
||||||
|
- run: npm --version
|
||||||
|
- run: java -version
|
||||||
|
|
||||||
- name: Install npm dependencies
|
- name: Install npm dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user