3131 fetch-depth : 0
3232 - uses : ruby/setup-ruby@v1
3333 with :
34- ruby-version : " 3.3 "
34+ ruby-version : " head "
3535 bundler-cache : true
3636 - run : ./bin/setup
3737 - run : bundle exec rake check:type
7777 - uses : actions/checkout@v4
7878 - uses : ruby/setup-ruby@v1
7979 with :
80- ruby-version : " 3.3 "
80+ ruby-version : " head "
8181 bundler-cache : true
8282 - run : ./bin/setup
8383 - run : rake ci:pin_build_manifest
9090 - name : Set matrix
9191 id : set-matrix
9292 run : |
93- rake ci:rake_task_matrix > matrix.json
94- echo "entries=$(cat matrix .json)" >> $GITHUB_OUTPUT
93+ rake ci:rake_task_matrix
94+ echo "entries=$(cat ci_matrix .json)" >> $GITHUB_OUTPUT
9595
9696 rake-tasks :
9797 strategy :
@@ -142,21 +142,21 @@ jobs:
142142 if : ${{ inputs.prerel_name != '' && matrix.entry.prerelease != '' }}
143143 - name : rake ${{ matrix.entry.task }}
144144 run : ./build-exec rake --verbose ${{ matrix.entry.task }}
145+ - uses : actions/upload-artifact@v4
146+ if : ${{ matrix.entry.artifact }}
147+ with :
148+ name : ${{ matrix.entry.artifact_name }}
149+ path : ${{ matrix.entry.artifact }}
145150 - uses : ruby/setup-ruby@v1
146151 if : ${{ matrix.entry.test != '' }}
147152 with :
148- ruby-version : " 3.3 "
153+ ruby-version : " head "
149154 bundler-cache : false
150155 - name : rake ${{ matrix.entry.test }}
151156 run : |
152157 bundle install --with=check --without=development
153158 rake ${{ matrix.entry.test }}
154159 if : ${{ matrix.entry.test != '' }}
155- - uses : actions/upload-artifact@v4
156- if : ${{ matrix.entry.artifact }}
157- with :
158- name : ${{ matrix.entry.artifact_name }}
159- path : ${{ matrix.entry.artifact }}
160160
161161 release-artifacts :
162162 needs : [rake-tasks]
@@ -176,7 +176,7 @@ jobs:
176176 registry-url : https://registry.npmjs.org/
177177 - uses : ruby/setup-ruby@v1
178178 with :
179- ruby-version : " 3.3 "
179+ ruby-version : " head "
180180 bundler-cache : true
181181 - run : ./bin/setup
182182 - run : echo "PREREL_NAME=${{ inputs.prerel_name }}" >> $GITHUB_ENV
0 commit comments