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 2020
2121 - uses : dart-lang/setup-dart@v1 # Creates and configures token for publishing
2222
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+
2330 - name : Publish powersync
2431 run : |
2532 dart pub publish --force
3744
3845 - uses : dart-lang/setup-dart@v1 # Creates and configures token for publishing
3946
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+
4054 - name : Publish powersync_attachments_helper
4155 run : |
4256 dart pub publish --force
@@ -54,11 +68,18 @@ jobs:
5468
5569 - uses : dart-lang/setup-dart@v1 # Creates and configures token for publishing
5670
71+ - name : Setup melos
72+ uses : ./.github/actions/setup-melos
73+
5774 - name : Set powersync core version
5875 run : echo "CORE_VERSION=v0.1.8" >> $GITHUB_ENV
5976 - name : Download binaries
6077 run : sh tool/download_binaries.sh
6178
79+ - name : Dry run
80+ run : dart pub publish --dry-run
81+ working-directory : packages/powersync_flutter_libs
82+
6283 - name : Publish powersync_flutter_libs
6384 run : |
6485 dart pub publish --force
You can’t perform that action at this time.
0 commit comments