Skip to content

Commit a41ecee

Browse files
yamitzkyclaude
andcommitted
fix: trigger binary build from release workflow via workflow_call
GITHUB_TOKEN-created release events don't trigger other workflows. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ede5cc7 commit a41ecee

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/binary.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: Build Binaries
22

33
on:
4-
release:
5-
types: [published]
4+
workflow_call:
5+
inputs:
6+
tag_name:
7+
required: true
8+
type: string
69

710
permissions:
811
contents: write
@@ -32,4 +35,5 @@ jobs:
3235
- name: Upload release asset
3336
uses: softprops/action-gh-release@v2
3437
with:
38+
tag_name: ${{ inputs.tag_name }}
3539
files: ${{ matrix.artifact }}

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,10 @@ jobs:
3939
with:
4040
node-version: "24"
4141
- run: npm publish --provenance --access public
42+
43+
build-binaries:
44+
needs: release-please
45+
if: ${{ needs.release-please.outputs.release_created }}
46+
uses: ./.github/workflows/binary.yml
47+
with:
48+
tag_name: ${{ needs.release-please.outputs.tag_name }}

0 commit comments

Comments
 (0)