Skip to content

Commit 98c3424

Browse files
author
Jens Becker
authored
feat: publish to pub workflow
1 parent b114113 commit 98c3424

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish to pub.dev
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: 'Checkout'
13+
uses: actions/checkout@v2
14+
15+
- name: '>> Dart package <<'
16+
uses: k-paxian/dart-package-publisher@master
17+
with:
18+
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
19+
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}
20+
format: true

0 commit comments

Comments
 (0)