Skip to content

Commit 1da16dc

Browse files
ivoanjoeregon
authored andcommitted
Only download binaries when we're going to need them
1 parent c91aec4 commit 1da16dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ jobs:
252252
echo "platform=$platform" >> $GITHUB_OUTPUT
253253
- name: Download binaries from previous release
254254
run: gh release download "${{ needs.prepare.outputs.previous_release }}" --pattern "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz"
255+
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.skip_slow == 'true' }}
255256
- name: Re-upload Binaries
256257
run: gh release upload "${{ needs.release.outputs.tag }}" "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz"
257258
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.skip_slow == 'true' }}

0 commit comments

Comments
 (0)