Skip to content

Commit

Permalink
Only download binaries when we're going to need them
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Feb 17, 2025
1 parent ae399e4 commit 809d82a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ jobs:
echo "platform=$platform" >> $GITHUB_OUTPUT
- name: Download binaries from previous release
run: gh release download "${{ needs.prepare.outputs.previous_release }}" --pattern "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz"
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.skip_slow == 'true' }}
- name: Re-upload Binaries
run: gh release upload "${{ needs.release.outputs.tag }}" "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz"
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.skip_slow == 'true' }}
Expand Down

0 comments on commit 809d82a

Please sign in to comment.