Skip to content

Commit

Permalink
Merge pull request #5099 from AkihiroSuda/cache-vagrant
Browse files Browse the repository at this point in the history
CI: cache ~/.vagrant.d/boxes
  • Loading branch information
estesp committed Mar 1, 2021
2 parents 10bbd1a + 4702af9 commit 1f801c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f801c0

Please sign in to comment.