File tree Expand file tree Collapse file tree 6 files changed +98
-63
lines changed
Expand file tree Collapse file tree 6 files changed +98
-63
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ release :
5+ types : [ published ]
6+ workflow_dispatch :
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout repo
13+ uses : actions/checkout@v4
14+ - name : Publish
15+ uses : k-paxian/dart-package-publisher@master
16+ with :
17+ credentialJson : ${{ secrets.CREDENTIAL_JSON }}
18+ flutter : true
19+ skipTests : true
Original file line number Diff line number Diff line change 1+ name : Publishable
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ paths :
11+ - " **.md"
12+ - " **.yaml"
13+ - " **.yml"
14+
15+ jobs :
16+ publish-dry-run :
17+ name : Publish dry-run with packages
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ - uses : k-paxian/dart-package-publisher@master
22+ with :
23+ credentialJson : ' MockCredentialJson'
24+ flutter : true
25+ dryRunOnly : true
26+ skipTests : true
Original file line number Diff line number Diff line change 1+ name : Runnable (stable)
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths-ignore :
8+ - " **.md"
9+ pull_request :
10+ branches :
11+ - main
12+ paths-ignore :
13+ - " **.md"
14+
15+ jobs :
16+ run :
17+ name : Analyze on ${{ matrix.os }}
18+ runs-on : ${{ matrix.os }}
19+ strategy :
20+ matrix :
21+ os : [ macos-latest ]
22+ steps :
23+ - uses : actions/checkout@v4
24+ - uses : actions/setup-java@v4
25+ with :
26+ distribution : ' zulu'
27+ java-version : ' 17'
28+ - uses : subosito/flutter-action@v2
29+ with :
30+ channel : ' stable'
31+ - name : Log Dart/Flutter versions
32+ run : |
33+ dart --version
34+ flutter --version
35+ - name : Prepare dependencies
36+ run : flutter pub get
37+ - name : Check Dart code formatting
38+ run : dart format . -o none --set-exit-if-changed
39+ - name : Analyze Dart code
40+ run : flutter analyze .
41+ - name : Run tests
42+ run : flutter test
43+ - name : Generate docs
44+ run : |
45+ dart pub global activate dartdoc
46+ dart pub global run dartdoc .
47+ - run : flutter pub get
48+ - name : Build Example (Android)
49+ run : cd example; flutter build apk --debug
50+ - name : Build Example (iOS)
51+ run : cd example; flutter build ios --no-codesign
52+ - name : Build Example (Web)
53+ run : cd example; flutter build web
You can’t perform that action at this time.
0 commit comments