fix(ci): trigger release build on release publish, not tag push
semantic-release creates the tag via the GitHub Releases API (@semantic-release/github). API-created tags don't emit the refs/tags/* push event that 'on: push: tags' listens for, so the artifact build never auto-ran — every release so far was built by manual workflow_dispatch. The PAT-published release does fire 'release: published', so trigger on that. workflow_dispatch stays as a manual fallback.
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -1,9 +1,8 @@
|
|||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
tags:
|
types: [published]
|
||||||
- 'v*'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
|
|||||||
Reference in New Issue
Block a user