Merge pull request #5099 from AkihiroSuda/cache-vagrant
CI: cache ~/.vagrant.d/boxes
This commit is contained in:
commit
1f801c02ce
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -363,6 +363,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: "Cache ~/.vagrant.d/boxes"
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.vagrant.d/boxes
|
||||||
|
key: vagrant-${{ hashFiles('Vagrantfile*') }}
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
# Retry if it fails (download.fedoraproject.org returns 404 sometimes)
|
# Retry if it fails (download.fedoraproject.org returns 404 sometimes)
|
||||||
vagrant up || vagrant up
|
vagrant up || vagrant up
|
||||||
|
Loading…
Reference in New Issue
Block a user