Skip to content

Commit c72568a

Browse files
committed
ci: use release event for trusted publishing
Tag-based triggers don't work with npm Trusted Publishing because npm expects workflow_ref from a branch, not a tag ref.
1 parent 9f99ad0 commit c72568a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

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

33
on:
4-
push:
5-
tags: ["v*"]
4+
release:
5+
types: [published]
66

77
jobs:
88
publish:

0 commit comments

Comments
 (0)