Skip to content

Commit 225db02

Browse files
committed
ci ubuntu: Use Ubuntu 24.04 to build released gem
Because libyaml on Ubuntu 22.04 is old. See also: 9ca7b07#commitcomment-143089497 > The libyaml on Ubuntu 22.04 is outdated a little. > > It results in different metadata in the built gems from the latest > libyaml.
1 parent 9ca7b07 commit 225db02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ubuntu.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os:
22+
- ubuntu-24.04
2223
- ubuntu-22.04
2324
- ubuntu-20.04
2425
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
@@ -40,7 +41,7 @@ jobs:
4041
run: bundle exec rake build
4142
- uses: actions/upload-artifact@v4
4243
if: >-
43-
matrix.os == 'ubuntu-22.04' &&
44+
matrix.os == 'ubuntu-24.04' &&
4445
(matrix.ruby == needs.ruby-versions.outputs.latest || matrix.ruby == 'jruby-head')
4546
with:
4647
name: gem-${{ matrix.os }}-${{ matrix.ruby }}

0 commit comments

Comments
 (0)