Skip to content

Commit b039127

Browse files
committed
ci: github release action
1 parent d095f0a commit b039127

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish plugin
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v1
13+
- name: Publish "cryptography"
14+
uses: k-paxian/dart-package-publisher@master
15+
with:
16+
relativePath: cryptography
17+
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
18+
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}
19+
- name: Publish "cryptography_flutter"
20+
uses: k-paxian/dart-package-publisher@master
21+
with:
22+
flutter: true
23+
relativePath: cryptography_flutter
24+
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
25+
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}

0 commit comments

Comments
 (0)