Skip to content

Commit 03526ac

Browse files
committed
doc:完善文档
1 parent b7fd505 commit 03526ac

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/publish.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@ name: Publish to Pub.dev
22

33
on:
44
pull_request:
5+
types:
6+
- closed
57
branches:
68
- master
7-
89
jobs:
910
publishing:
11+
if: github.event.pull_request.merged == true
1012
runs-on: ubuntu-latest
1113
steps:
1214
- name: 'Checkout'
1315
uses: actions/checkout@main # required!
14-
1516
- name: '>> Dart package <<'
1617
uses: k-paxian/dart-package-publisher@master
1718
with:
1819
accessToken: ${{secrets.OAUTH_ACCESS_TOKEN }}
1920
refreshToken: ${{secrets.OAUTH_REFRESH_TOKEN }}
2021
skipTests: true
21-
force: true
22+
force: true
23+

demo.gif

1.02 MB
Loading

0 commit comments

Comments
 (0)