File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1616 - uses : actions/checkout@v3
1717 - uses : subosito/flutter-action@v2
1818 with :
19- flutter-version : " 3.29.0"
2019 channel : ' stable'
2120 cache : true
22-
21+
2322 - name : Run Flutter build
2423 run : |
2524 # Enable web config in flutter
Original file line number Diff line number Diff line change @@ -18,16 +18,20 @@ jobs:
1818 - name : Checkout repository
1919 uses : actions/checkout@v4
2020
21- - name : Setup Dart
22- uses : dart-lang/setup-dart@v1
21+ - name : Setup Flutter
22+ uses : subosito/flutter-action@v2
23+ with :
24+ flutter-version : " stable"
25+ cache : true
2326
2427 - name : Install dependencies
25- run : dart pub get
28+ run : flutter pub get
29+
30+ - name : Authenticate with pub.dev
31+ run : echo "${{ secrets.TOKEN }}" | dart pub token add https://pub.dev
2632
2733 - name : Verify package
28- run : dart pub publish --dry-run
34+ run : flutter pub publish --dry-run
2935
3036 - name : Publish to pub.dev
31- run : dart pub publish
32- env :
33- PUB_DEV_ACCESS_TOKEN : ${{ secrets.TOKEN }}
37+ run : flutter pub publish
You can’t perform that action at this time.
0 commit comments