Skip to content

Commit 578fe53

Browse files
fix: align crates publish workflow trigger with Docker build (#333)
* fix: add workflow_dispatch trigger to crates publish workflow The release:published event doesn't fire when GitHub releases are created by other actions (using GITHUB_TOKEN), which prevents automatic crates.io publishing. Adding workflow_dispatch allows manual triggering as a fallback. * fix: align crates publish workflow trigger with Docker build The crates publish workflow was triggering on 'release: published' event which wasn't firing reliably. Changed to trigger on tag push (matching Docker build workflow) for consistent behavior. Both workflows now trigger on 'push: tags: v*' ensuring automatic publication when version tags are pushed.
1 parent 87f6065 commit 578fe53

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish-crates.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish to crates.io
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
tags:
6+
- "v*"
67
workflow_dispatch:
78

89
env:

0 commit comments

Comments
 (0)