Skip to content

Commit c4c9585

Browse files
Upload artifact before running tests
This helps investigate test failures
1 parent 899fb60 commit c4c9585

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ 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:
@@ -152,11 +157,6 @@ jobs:
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]

0 commit comments

Comments
 (0)