Skip to content

Commit

Permalink
build: disable setup-msys2 caching for the arm64 runner
Browse files Browse the repository at this point in the history
it's not really helping in case of self-hosted runners,
so just disable it there.
  • Loading branch information
lazka committed May 28, 2023
1 parent 6d6d83e commit 79096b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Expand Up @@ -150,6 +150,7 @@ jobs:
install: ${{ matrix.packages }}
location: 'D:\A'
release: ${{ runner.arch == 'ARM64' && 'false' || 'true' }}
cache: ${{ runner.arch == 'ARM64' && 'false' || 'true' }}

- name: Switch to the main mirror
shell: msys2 {0}
Expand Down

2 comments on commit 79096b7

@jeremyd2019
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was probably not necessary. It would just fail to "tar" the cache and give a "warning" about it. I am slightly curious if anything will still clean the pacman cache (paccache and/or pacman -Scc). Probably won't build up too much though.

@lazka
Copy link
Member Author

@lazka lazka commented on 79096b7 May 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, good point, what about #76 ?

Please sign in to comment.