Merge pull request #5099 from AkihiroSuda/cache-vagrant

CI: cache ~/.vagrant.d/boxes
This commit is contained in:
Phil Estes 2021-03-01 09:53:37 -05:00 committed by GitHub
commit 1f801c02ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,6 +363,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: "Cache ~/.vagrant.d/boxes"
uses: actions/cache@v2
with:
path: ~/.vagrant.d/boxes
key: vagrant-${{ hashFiles('Vagrantfile*') }}
- run: |
# Retry if it fails (download.fedoraproject.org returns 404 sometimes)
vagrant up || vagrant up