mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-29 20:22:39 +01:00
fix(ci): adjusting cache steps
This commit is contained in:
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
jobs:
|
||||
molecule:
|
||||
name: Molecule
|
||||
runs-on: macos-13
|
||||
runs-on: macos-12
|
||||
strategy:
|
||||
matrix:
|
||||
scenario:
|
||||
@@ -28,19 +28,19 @@ jobs:
|
||||
path: ~/.ansible/collections
|
||||
key: ansible-${{ hashFiles('collections/requirements.yml') }}
|
||||
|
||||
- name: Restore Homebrew cache
|
||||
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
||||
with:
|
||||
path: ~/Library/Caches/Homebrew
|
||||
key: brew-${{ hashFiles('./Brewfile') }}
|
||||
# - name: Restore Homebrew cache
|
||||
# uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
||||
# with:
|
||||
# path: ~/Library/Caches/Homebrew
|
||||
# key: brew-${{ hashFiles('./Brewfile') }}
|
||||
|
||||
- name: Update Homebrew
|
||||
run: |
|
||||
brew update --preinstall
|
||||
# - name: Update Homebrew
|
||||
# run: |
|
||||
# brew update --preinstall
|
||||
|
||||
- name: Install Homebrew dependencies
|
||||
run: |
|
||||
env HOMEBREW_NO_AUTO_UPDATE=1 brew bundle --no-upgrade --file ./Brewfile
|
||||
# - name: Install Homebrew dependencies
|
||||
# run: |
|
||||
# env HOMEBREW_NO_AUTO_UPDATE=1 brew bundle --no-upgrade --file ./Brewfile
|
||||
|
||||
- name: Restore vagrant Boxes cache
|
||||
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
||||
|
||||
Reference in New Issue
Block a user