File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Setup melos"
2
+ description : " Setup melos before publishing"
3
+ runs :
4
+ using : " composite"
5
+ steps :
6
+ - name : Install Flutter
7
+ uses : subosito/flutter-action@v2
8
+ with :
9
+ flutter-version : " 3.x"
10
+ channel : " stable"
11
+
12
+ - name : Install melos
13
+ run : flutter pub global activate melos
14
+ shell : bash
15
+
16
+ - name : Install dependencies
17
+ run : melos bootstrap
18
+ shell : bash
Original file line number Diff line number Diff line change 20
20
21
21
- uses : dart-lang/setup-dart@v1 # Creates and configures token for publishing
22
22
23
+ - name : Setup melos
24
+ uses : ./.github/actions/setup-melos
25
+
26
+ - name : Dry run
27
+ run : dart pub publish --dry-run
28
+ working-directory : packages/powersync
29
+
23
30
- name : Publish powersync
24
31
run : |
25
32
dart pub publish --force
37
44
38
45
- uses : dart-lang/setup-dart@v1 # Creates and configures token for publishing
39
46
47
+ - name : Setup melos
48
+ uses : ./.github/actions/setup-melos
49
+
50
+ - name : Dry run
51
+ run : dart pub publish --dry-run
52
+ working-directory : packages/powersync_attachments_helper
53
+
40
54
- name : Publish powersync_attachments_helper
41
55
run : |
42
56
dart pub publish --force
@@ -54,11 +68,18 @@ jobs:
54
68
55
69
- uses : dart-lang/setup-dart@v1 # Creates and configures token for publishing
56
70
71
+ - name : Setup melos
72
+ uses : ./.github/actions/setup-melos
73
+
57
74
- name : Set powersync core version
58
75
run : echo "CORE_VERSION=v0.1.8" >> $GITHUB_ENV
59
76
- name : Download binaries
60
77
run : sh tool/download_binaries.sh
61
78
79
+ - name : Dry run
80
+ run : dart pub publish --dry-run
81
+ working-directory : packages/powersync_flutter_libs
82
+
62
83
- name : Publish powersync_flutter_libs
63
84
run : |
64
85
dart pub publish --force
You can’t perform that action at this time.
0 commit comments