File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Publish to pub.dev
2-
1+ name : Publish new plugin version to pub.dev
2+ run-name : >-
3+ [shared_storage] package publish (${{ github.ref_name }}) triggered by @${{ github.actor }}
34on :
45 push :
56 tags :
6- - ' v[0-9]+.[0-9]+.[0-9]+*'
7-
7+ - " v[0-9]+.[0-9]+.[0-9]+"
88jobs :
99 publish :
10+ runs-on : ubuntu-latest
1011 permissions :
11- id-token : write # Required for authentication using OIDC
12- uses : dart-lang/setup-dart/.github/workflows/publish.yml@v1
13- # with:
14- # working-directory: path/to/package/within/repository
12+ id-token : write # This is required for requesting the JWT
13+ defaults :
14+ run :
15+ working-directory : ./
16+ steps :
17+ # Checkout repository
18+ - uses : actions/checkout@v4
19+ - uses : subosito/flutter-action@v2
20+ with :
21+ channel : ' stable' # or: 'beta', 'dev', 'master' (or 'main')
22+ - run : flutter --version
23+
24+ - name : Install dependencies
25+ run : flutter pub get
26+
27+ - name : Run Dart analyzer
28+ run : flutter analyze --fatal-infos
29+
30+ - name : Publish to pub dev
31+ run : dart pub publish --force
You can’t perform that action at this time.
0 commit comments