|
8 | 8 | workflow_dispatch: |
9 | 9 |
|
10 | 10 | jobs: |
11 | | - publish-powersync: |
12 | | - name: Publish powersync |
| 11 | + publish-packages: |
| 12 | + name: Publish packages |
13 | 13 | permissions: |
14 | 14 | contents: write |
15 | 15 | id-token: write # Required for authentication using OIDC |
16 | 16 | runs-on: [ubuntu-latest] |
17 | | - if: contains(github.ref_name, 'powersync-v') |
18 | 17 | steps: |
19 | 18 | - uses: actions/checkout@v4 |
20 | 19 |
|
21 | 20 | - uses: dart-lang/setup-dart@v1 # Creates and configures token for publishing |
22 | 21 |
|
23 | | - - name: Publish powersync |
| 22 | + - name: Publish packages dry run |
24 | 23 | run: | |
25 | | - dart pub publish --force |
26 | | - working-directory: packages/powersync |
| 24 | + melos publish |
27 | 25 |
|
28 | | - publish-powersync_attachments_helper: |
29 | | - name: Publish powersync_attachments_helper |
30 | | - permissions: |
31 | | - contents: write |
32 | | - id-token: write # Required for authentication using OIDC |
33 | | - runs-on: [ubuntu-latest] |
34 | | - if: contains(github.ref_name, 'powersync_attachments_helper-v') |
35 | | - steps: |
36 | | - - uses: actions/checkout@v4 |
37 | | - |
38 | | - - uses: dart-lang/setup-dart@v1 # Creates and configures token for publishing |
39 | | - |
40 | | - - name: Publish powersync_attachments_helper |
41 | | - run: | |
42 | | - dart pub publish --force |
43 | | - working-directory: packages/powersync_attachments_helper |
44 | | - |
45 | | - publish-powersync_flutter_libs: |
46 | | - name: Publish powersync_flutter_libs |
47 | | - permissions: |
48 | | - contents: write |
49 | | - id-token: write # Required for authentication using OIDC |
50 | | - runs-on: [ubuntu-latest] |
51 | | - if: contains(github.ref_name, 'powersync_flutter_libs-v') |
52 | | - steps: |
53 | | - - uses: actions/checkout@v4 |
54 | | - |
55 | | - - uses: dart-lang/setup-dart@v1 # Creates and configures token for publishing |
56 | | - |
57 | | - - name: Set powersync core version |
58 | | - run: echo "CORE_VERSION=v0.1.8" >> $GITHUB_ENV |
59 | | - - name: Download binaries |
60 | | - run: sh tool/download_binaries.sh |
61 | | - |
62 | | - - name: Publish powersync_flutter_libs |
| 26 | + - name: Publish packages |
63 | 27 | run: | |
64 | | - dart pub publish --force |
65 | | - working-directory: packages/powersync_flutter_libs |
| 28 | + melos publish --no-dry-run |
0 commit comments