Skip to content

Commit 53a71a3

Browse files
jorbenclaude
andauthored
fix(ci): avoid duplicate builds on release workflow (#13)
Only build assets on prereleased event to prevent redundant builds when converting pre-release to release. The publish-npm job already has its own condition and will only run on released event. Co-authored-by: Claude <noreply@anthropic.com>
1 parent ac79dd1 commit 53a71a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ permissions:
99

1010
jobs:
1111
build:
12+
# Only build assets on prereleased to avoid duplicate builds
13+
if: github.event.action == 'prereleased'
1214
strategy:
1315
matrix:
1416
include:

0 commit comments

Comments
 (0)