Skip to content

Commit 9f239d3

Browse files
committed
fix(ci): always run and on tag
1 parent 8fe6fbf commit 9f239d3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Publish Packages
22

33
on:
44
push:
5-
branches: [ master ]
5+
tags:
6+
- v*
67

78
workflow_dispatch:
89

@@ -20,7 +21,7 @@ jobs:
2021
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2122
run: |
2223
yarn build:bundle
23-
yarn ci
24+
yarn release
2425
2526
publish-windows:
2627

@@ -38,7 +39,7 @@ jobs:
3839
GH_TOKEN: ${{ secrets.GH_TOKEN }}
3940
run: |
4041
yarn build:bundle
41-
yarn ci
42+
yarn release
4243
4344
publish-macos:
4445

@@ -53,4 +54,4 @@ jobs:
5354
GH_TOKEN: ${{ secrets.GH_TOKEN }}
5455
run: |
5556
yarn build:bundle
56-
yarn ci
57+
yarn release

0 commit comments

Comments
 (0)