Skip to content

Commit 478d60e

Browse files
committed
Remove gem cache for Windows
1 parent 88aa628 commit 478d60e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/windows.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
uses: ruby/setup-ruby@v1
2121
with:
2222
ruby-version: ${{ matrix.ruby }}
23+
24+
# ucrt and mswin have the dev version Ruby.
25+
# It introduce checksum mismatches for bundled gems. So remove them before `bundle install`
26+
- name: Purge gem caches
27+
run: |
28+
Remove-Item D:\ruby-${{ matrix.ruby }}\lib\ruby\gems\*\cache\*.gem
2329
- name: bundle install
2430
run: |
2531
bundle config set without profilers libs

0 commit comments

Comments
 (0)