Skip to content

Commit ca57a0b

Browse files
Github Actions: Disable caching for MacOS
Appears to not grab the right directory. Possibly due to using brew
1 parent dd793c8 commit ca57a0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: .github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# Cache roswell - Based on code from 40ants
4444
# broken on Windows due to sudo and paths
4545
- name: Cache setup
46-
if: runner.os != 'Windows'
46+
if: runner.os != 'Windows' && runner.os != 'macOS'
4747
id: cache-setup
4848
run: |
4949
sudo mkdir -p /usr/local/etc/roswell
@@ -52,7 +52,7 @@ jobs:
5252
sudo chown "${USER}" /usr/local/bin
5353
echo "value=$(date -u "+%Y-%m")" >> $GITHUB_OUTPUT
5454
- name: Cache Roswell Setup
55-
if: runner.os != 'Windows'
55+
if: runner.os != 'Windows' && runner.os != 'macOS'
5656
id: cache
5757
uses: actions/cache@v3
5858
env:
@@ -69,10 +69,10 @@ jobs:
6969
run: |
7070
echo $HOME/.roswell/bin >> $GITHUB_PATH
7171
echo .qlot/bin >> $GITHUB_PATH
72-
if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'
72+
if: runner.os != 'Windows' && runner.os != 'macOS' && steps.cache.outputs.cache-hit == 'true'
7373
# Install roswell with setup-lisp
7474
- uses: 40ants/setup-lisp@v2
75-
if: runner.os == 'Windows' || steps.cache.outputs.cache-hit != 'true'
75+
if: runner.os == 'Windows' || runner.os == 'macOS' || steps.cache.outputs.cache-hit != 'true'
7676

7777
- name: Configure Coverage
7878
# Only gather code coverage on Linux-SBCL

0 commit comments

Comments
 (0)