There was an error while loading. Please reload this page.
1 parent 74079ca commit d7cecceCopy full SHA for d7cecce
1 file changed
.github/workflows/release.yml
@@ -247,7 +247,10 @@ jobs:
247
publish-crate:
248
name: Publish to crates.io
249
needs: release
250
- if: ${{ github.event_name == 'push' }}
+ # release-please creates the tag with GITHUB_TOKEN, which does NOT fire a `push` event — so the
251
+ # push-only guard skipped publishing. Also allow workflow_dispatch as a manual publish lever:
252
+ # `gh workflow run release.yml -f tag=vX.Y.Z`. (Needs CARGO_REGISTRY_TOKEN secret.)
253
+ if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
254
runs-on: ubuntu-latest
255
steps:
256
- uses: actions/checkout@v4
0 commit comments