Skip to content

Commit bb9f952

Browse files
flavorjonesMSP-Greg
andcommitted
ci: use windows-2022 and ucrt for Ruby 3.1
See #2375 for context Co-authored-by: MSP-Greg <Greg.mpls@gmail.com>
1 parent 4a1f3cc commit bb9f952

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ jobs:
234234
fail-fast: false
235235
matrix:
236236
sys: ["enable", "disable"]
237-
ruby: ["2.6", "2.7", "3.0", "3.1", "mingw"]
238-
runs-on: windows-latest
237+
ruby: ["2.6", "2.7", "3.0", "3.1", "mingw", "head"]
238+
runs-on: windows-2022
239239
steps:
240240
- name: configure git crlf
241241
run: |
@@ -244,11 +244,12 @@ jobs:
244244
- uses: actions/checkout@v2
245245
with:
246246
submodules: true
247-
- uses: MSP-Greg/setup-ruby-pkgs@v1
247+
- uses: MSP-Greg/setup-ruby-pkgs@win-ucrt-2
248248
with:
249249
ruby-version: "${{matrix.ruby}}"
250250
mingw: "libxml2 libxslt"
251251
bundler-cache: true
252+
setup-ruby-ref: MSP-Greg/ruby-setup-ruby/win-ucrt-1
252253
- uses: actions/cache@v2
253254
if: matrix.sys == 'disable'
254255
with:

.github/workflows/gem-install.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,16 @@ jobs:
108108
fail-fast: false
109109
matrix:
110110
sys: ["enable", "disable"]
111-
runs-on: windows-latest
111+
runs-on: windows-2022
112112
steps:
113113
- uses: actions/checkout@v2
114114
with:
115115
submodules: true
116-
- uses: MSP-Greg/setup-ruby-pkgs@v1
116+
- uses: MSP-Greg/setup-ruby-pkgs@win-ucrt-2
117117
with:
118118
ruby-version: "3.1"
119119
mingw: "libxml2 libxslt"
120+
setup-ruby-ref: MSP-Greg/ruby-setup-ruby/win-ucrt-1
120121
- uses: actions/download-artifact@v2
121122
with:
122123
name: cruby-gem

0 commit comments

Comments
 (0)