Skip to content

Commit 07da44a

Browse files
committed
git tag v0.0.6
1 parent 6bc8bd0 commit 07da44a

File tree

6 files changed

+228
-117
lines changed

6 files changed

+228
-117
lines changed

.github/workflows/publish.yml

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,42 @@
1-
name: Publish to Pub.dev
1+
# .github/workflows/publish.yml
2+
name: Publish to pub.dev
23

3-
on: [push, pull_request]
4+
on:
5+
push:
6+
tags:
7+
# must align with the tag-pattern configured on pub.dev, often just replace
8+
# with [0-9]+.[0-9]+.[0-9]+*
9+
- 'v[0-9]+.[0-9]+.[0-9]+*' # tag-pattern on pub.dev: 'v'
10+
# If you prefer tags like '1.2.3', without the 'v' prefix, then use:
11+
# - '[0-9]+.[0-9]+.[0-9]+*' # tag-pattern on pub.dev: ''
12+
# If your repository contains multiple packages consider a pattern like:
13+
# - 'my_package_name-v[0-9]+.[0-9]+.[0-9]+*'
414

515
jobs:
6-
publishing:
16+
publish:
17+
name: Publish on pub.dev
718
runs-on: ubuntu-latest
19+
20+
permissions:
21+
id-token: write
22+
contents: write
23+
824
steps:
9-
# 拉取仓库代码
10-
- name: "Checkout"
11-
uses: actions/checkout@v2
12-
- uses: subosito/flutter-action@v1
25+
- name: Clone repository
26+
uses: actions/checkout@v3
27+
28+
# This step adds the auth token for pub.dev
29+
- name: Set up Dart
30+
uses: dart-lang/setup-dart@v1
1331
with:
14-
channel: 'stable'
15-
- run: flutter pub get
16-
# 发布插件
17-
- name: Publish
18-
uses: sakebook/[email protected]
32+
sdk: stable
33+
34+
- name: Set up Flutter
35+
uses: subosito/flutter-action@v2
1936
with:
20-
credential: ${{ secrets.CREDENTIAL_JSON }}
21-
flutter_package: true
22-
skip_test: true
23-
dry_run: false
37+
channel: stable
38+
cache: true
39+
40+
- name: Publish to pub.dev
41+
id: pub_release
42+
uses: leancodepl/mobile-tools/.github/actions/pub-release@pub-release-v1

.idea/misc.xml

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.6
2+
3+
* update
4+
15
## 0.0.1
26

37
* initial release.

example/pubspec.lock

Lines changed: 93 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -5,58 +5,58 @@ packages:
55
dependency: transitive
66
description:
77
name: async
8-
url: "https://pub.flutter-io.cn"
8+
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
9+
url: "https://pub.dev"
910
source: hosted
10-
version: "2.5.0"
11+
version: "2.11.0"
1112
boolean_selector:
1213
dependency: transitive
1314
description:
1415
name: boolean_selector
15-
url: "https://pub.flutter-io.cn"
16+
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
17+
url: "https://pub.dev"
1618
source: hosted
17-
version: "2.1.0"
19+
version: "2.1.1"
1820
characters:
1921
dependency: transitive
2022
description:
2123
name: characters
22-
url: "https://pub.flutter-io.cn"
24+
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
25+
url: "https://pub.dev"
2326
source: hosted
24-
version: "1.1.0"
25-
charcode:
26-
dependency: transitive
27-
description:
28-
name: charcode
29-
url: "https://pub.flutter-io.cn"
30-
source: hosted
31-
version: "1.2.0"
27+
version: "1.3.0"
3228
clock:
3329
dependency: transitive
3430
description:
3531
name: clock
36-
url: "https://pub.flutter-io.cn"
32+
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
33+
url: "https://pub.dev"
3734
source: hosted
38-
version: "1.1.0"
35+
version: "1.1.1"
3936
collection:
4037
dependency: transitive
4138
description:
4239
name: collection
43-
url: "https://pub.flutter-io.cn"
40+
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
41+
url: "https://pub.dev"
4442
source: hosted
45-
version: "1.15.0"
43+
version: "1.18.0"
4644
cupertino_icons:
4745
dependency: "direct main"
4846
description:
4947
name: cupertino_icons
50-
url: "https://pub.flutter-io.cn"
48+
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
49+
url: "https://pub.dev"
5150
source: hosted
52-
version: "1.0.2"
51+
version: "1.0.8"
5352
fake_async:
5453
dependency: transitive
5554
description:
5655
name: fake_async
57-
url: "https://pub.flutter-io.cn"
56+
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
57+
url: "https://pub.dev"
5858
source: hosted
59-
version: "1.2.0"
59+
version: "1.3.1"
6060
flutter:
6161
dependency: "direct main"
6262
description: flutter
@@ -68,33 +68,68 @@ packages:
6868
path: ".."
6969
relative: true
7070
source: path
71-
version: "0.0.2"
71+
version: "0.0.6"
7272
flutter_test:
7373
dependency: "direct dev"
7474
description: flutter
7575
source: sdk
7676
version: "0.0.0"
77+
leak_tracker:
78+
dependency: transitive
79+
description:
80+
name: leak_tracker
81+
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
82+
url: "https://pub.dev"
83+
source: hosted
84+
version: "10.0.5"
85+
leak_tracker_flutter_testing:
86+
dependency: transitive
87+
description:
88+
name: leak_tracker_flutter_testing
89+
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
90+
url: "https://pub.dev"
91+
source: hosted
92+
version: "3.0.5"
93+
leak_tracker_testing:
94+
dependency: transitive
95+
description:
96+
name: leak_tracker_testing
97+
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
98+
url: "https://pub.dev"
99+
source: hosted
100+
version: "3.0.1"
77101
matcher:
78102
dependency: transitive
79103
description:
80104
name: matcher
81-
url: "https://pub.flutter-io.cn"
105+
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
106+
url: "https://pub.dev"
107+
source: hosted
108+
version: "0.12.16+1"
109+
material_color_utilities:
110+
dependency: transitive
111+
description:
112+
name: material_color_utilities
113+
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
114+
url: "https://pub.dev"
82115
source: hosted
83-
version: "0.12.10"
116+
version: "0.11.1"
84117
meta:
85118
dependency: transitive
86119
description:
87120
name: meta
88-
url: "https://pub.flutter-io.cn"
121+
sha256: "25dfcaf170a0190f47ca6355bdd4552cb8924b430512ff0cafb8db9bd41fe33b"
122+
url: "https://pub.dev"
89123
source: hosted
90-
version: "1.3.0"
124+
version: "1.14.0"
91125
path:
92126
dependency: transitive
93127
description:
94128
name: path
95-
url: "https://pub.flutter-io.cn"
129+
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
130+
url: "https://pub.dev"
96131
source: hosted
97-
version: "1.8.0"
132+
version: "1.9.0"
98133
sky_engine:
99134
dependency: transitive
100135
description: flutter
@@ -104,58 +139,66 @@ packages:
104139
dependency: transitive
105140
description:
106141
name: source_span
107-
url: "https://pub.flutter-io.cn"
142+
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
143+
url: "https://pub.dev"
108144
source: hosted
109-
version: "1.8.1"
145+
version: "1.10.0"
110146
stack_trace:
111147
dependency: transitive
112148
description:
113149
name: stack_trace
114-
url: "https://pub.flutter-io.cn"
150+
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
151+
url: "https://pub.dev"
115152
source: hosted
116-
version: "1.10.0"
153+
version: "1.11.1"
117154
stream_channel:
118155
dependency: transitive
119156
description:
120157
name: stream_channel
121-
url: "https://pub.flutter-io.cn"
158+
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
159+
url: "https://pub.dev"
122160
source: hosted
123-
version: "2.1.0"
161+
version: "2.1.2"
124162
string_scanner:
125163
dependency: transitive
126164
description:
127165
name: string_scanner
128-
url: "https://pub.flutter-io.cn"
166+
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
167+
url: "https://pub.dev"
129168
source: hosted
130-
version: "1.1.0"
169+
version: "1.2.0"
131170
term_glyph:
132171
dependency: transitive
133172
description:
134173
name: term_glyph
135-
url: "https://pub.flutter-io.cn"
174+
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
175+
url: "https://pub.dev"
136176
source: hosted
137-
version: "1.2.0"
177+
version: "1.2.1"
138178
test_api:
139179
dependency: transitive
140180
description:
141181
name: test_api
142-
url: "https://pub.flutter-io.cn"
182+
sha256: "2419f20b0c8677b2d67c8ac4d1ac7372d862dc6c460cdbb052b40155408cd794"
183+
url: "https://pub.dev"
143184
source: hosted
144-
version: "0.3.0"
145-
typed_data:
185+
version: "0.7.1"
186+
vector_math:
146187
dependency: transitive
147188
description:
148-
name: typed_data
149-
url: "https://pub.flutter-io.cn"
189+
name: vector_math
190+
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
191+
url: "https://pub.dev"
150192
source: hosted
151-
version: "1.3.0"
152-
vector_math:
193+
version: "2.1.4"
194+
vm_service:
153195
dependency: transitive
154196
description:
155-
name: vector_math
156-
url: "https://pub.flutter-io.cn"
197+
name: vm_service
198+
sha256: "7475cb4dd713d57b6f7464c0e13f06da0d535d8b2067e188962a59bac2cf280b"
199+
url: "https://pub.dev"
157200
source: hosted
158-
version: "2.1.0"
201+
version: "14.2.2"
159202
sdks:
160-
dart: ">=2.12.0 <3.0.0"
161-
flutter: ">=1.20.0"
203+
dart: ">=3.3.0 <4.0.0"
204+
flutter: ">=3.19.0"

0 commit comments

Comments
 (0)