We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
workflow_dispatch
1 parent 95a5d0c commit 5fdbf8bCopy full SHA for 5fdbf8b
1 file changed
.github/workflows/publish.yaml
@@ -1,5 +1,6 @@
1
name: Publish new plugin version
2
-on:
+on:
3
+ workflow_dispatch:
4
push:
5
branches:
6
- release
@@ -12,6 +13,11 @@ jobs:
12
13
- uses: actions/checkout@v2
14
- uses: dart-lang/setup-dart@v1
15
16
+ - name: Checkout to release branch
17
+ run: |
18
+ git fetch
19
+ git checkout ${{ github.ref_name }}
20
+
21
- name: Create credentials file
22
run: echo $PUB_CREDENTIALS > ~/pub-credentials.json
23
env:
0 commit comments