mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-28 03:32:41 +01:00
fix(ci): adjusting cache steps
This commit is contained in:
7
.github/workflows/cache.yml
vendored
7
.github/workflows/cache.yml
vendored
@@ -50,15 +50,16 @@ jobs:
|
|||||||
~/Library/Caches/Homebrew
|
~/Library/Caches/Homebrew
|
||||||
key: brew-${{ hashFiles('.github/brew-formulae') }}
|
key: brew-${{ hashFiles('.github/brew-formulae') }}
|
||||||
restore-keys: brew-
|
restore-keys: brew-
|
||||||
- name: Install Homebrew dependencies
|
|
||||||
run: |
|
|
||||||
env HOMEBREW_NO_AUTO_UPDATE=1 brew install virtualbox vagrant
|
|
||||||
|
|
||||||
- name: Update Homebrew
|
- name: Update Homebrew
|
||||||
run: |
|
run: |
|
||||||
brew update --preinstall
|
brew update --preinstall
|
||||||
echo ${{ hashFiles ('"$(brew --repository)"') }} > .github/brew-formulae
|
echo ${{ hashFiles ('"$(brew --repository)"') }} > .github/brew-formulae
|
||||||
|
|
||||||
|
- name: Install Homebrew dependencies
|
||||||
|
run: |
|
||||||
|
env HOMEBREW_NO_AUTO_UPDATE=1 brew install virtualbox vagrant
|
||||||
|
|
||||||
- name: Cache Vagrant boxes
|
- name: Cache Vagrant boxes
|
||||||
id: cache-vagrant
|
id: cache-vagrant
|
||||||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
||||||
|
|||||||
Reference in New Issue
Block a user