@@ -40,19 +40,21 @@ jobs:
40
40
steps :
41
41
- uses : actions/checkout@v4
42
42
43
- - uses : oxidize-rb/actions/ setup-ruby-and-rust @v1
43
+ - uses : ruby/ setup-ruby@v1
44
44
with :
45
- ruby-version : " 3.3"
46
- bundler-cache : true
47
- cargo-cache : true
48
- cargo-vendor : true
49
- cache-version : v1-${{ matrix.ruby-platform }}
45
+ ruby-version : " 3.4"
50
46
51
- - uses : oxidize-rb/cross-gem-action@main
47
+ - uses : oxidize-rb/actions/cross-gem@v1
48
+ id : cross-gem
52
49
with :
53
- version : latest
54
50
platform : ${{ matrix.ruby-platform }}
55
- ruby-versions : ${{ join(fromJSON(needs.ci-data.outputs.result).stable-ruby-versions, ', ') }}
51
+ ruby-versions : ${{ join(fromJSON(needs.ci-data.outputs.result).stable-ruby-versions, ',') }}
52
+
53
+ - uses : actions/upload-artifact@v4
54
+ with :
55
+ name : cross-gem-${{ matrix.ruby-platform }}
56
+ path : pkg/*-${{ matrix.ruby-platform }}.gem
57
+ if-no-files-found : error
56
58
57
59
- name : Smoke gem install
58
60
if : matrix.ruby-platform == 'x86_64-linux' # GitHub actions architecture
@@ -71,18 +73,16 @@ jobs:
71
73
72
74
- uses : oxidize-rb/actions/setup-ruby-and-rust@v1
73
75
with :
74
- ruby-version : " 3.3 "
76
+ ruby-version : " 3.4 "
75
77
bundler-cache : true
76
78
cargo-cache : true
77
79
cache-version : v1
78
80
79
- # It seems that v4 is not compatible with how artifacts are uploaded by
80
- # oxidize-rb/cross-gem-action. So this must stay as v3 until the issue
81
- # below is fixed.
82
- # See https://github.com/oxidize-rb/actions/issues/27, for more details.
83
- - uses : actions/download-artifact@v3
81
+ - uses : actions/download-artifact@v4
84
82
with :
85
- name : cross-gem
83
+ pattern : cross-gem-*
84
+ merge-multiple : true
85
+ path : pkg/
86
86
87
87
- name : Package source gem
88
88
run : bundle exec rake pkg:ruby
0 commit comments