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.
2 parents 3bfa0c2 + 132b737 commit c8b2920Copy full SHA for c8b2920
.github/workflows/publish.yaml
@@ -0,0 +1,30 @@
1
+name: publish
2
+
3
+on:
4
+ push:
5
+ tags: ["v*"]
6
7
+jobs:
8
+ publish:
9
+ name: Publish to pub.dev
10
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v2
16
17
+ - name: Setup Dart
18
+ uses: dart-lang/setup-dart@v1
19
+ with:
20
+ sdk: 2.17.0
21
22
+ - name: Download pub.dev credentials
23
+ env:
24
+ CREDENTIALS: ${{ secrets.PUB_DEV_CREDENTIALS }}
25
+ run: |
26
+ mkdir -p ~/.pub-cache
27
+ echo $CREDENTIALS > ~/.pub-cache/credentials.json
28
29
+ - name: Publish
30
+ run: dart pub publish -f
.github/workflows/test.yaml
@@ -1,4 +1,4 @@
-name: flutter_downloader test
+name: test
on:
push:
0 commit comments