Skip to content

Commit f1677e1

Browse files
leogdionclaude
andcommitted
fix: download artifacts from same branch to ensure correct binary version
Added 'branch: ${{ github.ref_name }}' parameter to dawidd6/action-download-artifact to ensure the sync workflow downloads the binary built from the same branch it's running on. Previously, it would download the most recent successful build from any branch, which could use outdated code. This ensures testing on feature branches uses the correct binary version. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent fd72882 commit f1677e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/actions/cloudkit-sync/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ runs:
143143
workflow_conclusion: success
144144
name: bushel-cloud-binary
145145
path: ./binary
146+
branch: ${{ github.ref_name }}
146147

147148
- name: Build binary (fallback if artifact unavailable)
148149
if: steps.download-binary.outcome != 'success'

0 commit comments

Comments
 (0)