Skip to content

Commit 8a59424

Browse files
committed
try v3 instead of v4, seeing a weird error uploading artifacts
actions/upload-artifact#478
1 parent 951f0ac commit 8a59424

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
bundle exec rake build
7070
- name: Upload gem
71-
uses: actions/upload-artifact@v4
71+
uses: actions/upload-artifact@v3
7272
with:
7373
name: gem-${{ steps.set-metadata.outputs.GEM_VERSION }}-ruby
7474
path: pkg
@@ -135,12 +135,12 @@ jobs:
135135
run: |
136136
bundle exec rake binary
137137
- name: Upload V8
138-
uses: actions/upload-artifact@v4
138+
uses: actions/upload-artifact@v3
139139
with:
140140
name: v8-${{ steps.set-metadata.outputs.LIBV8_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}
141141
path: vendor
142142
- name: Upload gem
143-
uses: actions/upload-artifact@v4
143+
uses: actions/upload-artifact@v3
144144
with:
145145
name: gem-${{ steps.set-metadata.outputs.GEM_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}
146146
path: pkg
@@ -274,12 +274,12 @@ jobs:
274274
run: |
275275
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake binary[${{ steps.platform.outputs.ruby_target_platform }}]
276276
- name: Upload V8
277-
uses: actions/upload-artifact@v4
277+
uses: actions/upload-artifact@v3
278278
with:
279279
name: v8-${{ steps.set-metadata.outputs.LIBV8_VERSION }}-${{ steps.platform.outputs.ruby_target_platform }}
280280
path: vendor
281281
- name: Upload gem
282-
uses: actions/upload-artifact@v4
282+
uses: actions/upload-artifact@v3
283283
with:
284284
name: gem-${{ steps.set-metadata.outputs.GEM_VERSION }}-${{ steps.platform.outputs.ruby_target_platform }}
285285
path: pkg
@@ -327,7 +327,7 @@ jobs:
327327
ruby -e 'puts Gem.platforms.last.to_s' | tee gem_platform
328328
echo "::set-output name=GEM_PLATFORM::$(cat gem_platform)"
329329
- name: Download a single artifact
330-
uses: actions/download-artifact@v4
330+
uses: actions/download-artifact@v3
331331
with:
332332
name: gem-${{ needs.build-ruby.outputs.GEM_VERSION }}-ruby
333333
path: pkg
@@ -360,7 +360,7 @@ jobs:
360360
ruby -e 'puts Gem.platforms.last.to_s.gsub(/-darwin-?\d+/, "-darwin")' | tee gem_platform
361361
echo "::set-output name=GEM_PLATFORM::$(cat gem_platform)"
362362
- name: Download a single artifact
363-
uses: actions/download-artifact@v4
363+
uses: actions/download-artifact@v3
364364
with:
365365
name: gem-${{ needs.build-darwin.outputs.GEM_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}
366366
path: pkg
@@ -440,7 +440,7 @@ jobs:
440440
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} ruby -e 'puts Gem::Platform.local.tap { |p| RUBY_PLATFORM =~ /musl/ && p.version.nil? and p.instance_eval { @version = "musl" } }.to_s' | tee gem_platform
441441
echo "::set-output name=GEM_PLATFORM::$(cat gem_platform)"
442442
- name: Download a single artifact
443-
uses: actions/download-artifact@v4
443+
uses: actions/download-artifact@v3
444444
with:
445445
name: gem-${{ needs.build-linux.outputs.GEM_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}
446446
path: pkg

0 commit comments

Comments
 (0)