Skip to content

Commit 450b6c0

Browse files
committed
Publish.yml updated
1 parent f7f42ff commit 450b6c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Publish Flutter Package
22

33
on:
4-
workflow_dispatch: # Allows the workflow to be manually triggered
4+
repository_dispatch:
5+
types: [publish]
56

67
jobs:
78
publish:
@@ -11,6 +12,8 @@ jobs:
1112
steps:
1213
- name: Check out code
1314
uses: actions/checkout@v3
15+
with:
16+
ref: ${{ github.event.client_payload.ref }}
1417

1518
- name: Set up Flutter
1619
uses: subosito/flutter-action@v2

0 commit comments

Comments
 (0)