Skip to content

Commit 9123027

Browse files
committed
Use dart setup for token
1 parent 0c8d930 commit 9123027

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: Install Flutter
22-
uses: subosito/flutter-action@v2
23-
with:
24-
flutter-version: "3.x"
25-
channel: "stable"
21+
- uses: dart-lang/setup-dart@v1 # Creates and configures token for publishing
2622

2723
- name: Publish powersync
2824
run: |
@@ -39,11 +35,7 @@ jobs:
3935
steps:
4036
- uses: actions/checkout@v4
4137

42-
- name: Install Flutter
43-
uses: subosito/flutter-action@v2
44-
with:
45-
flutter-version: "3.x"
46-
channel: "stable"
38+
- uses: dart-lang/setup-dart@v1 # Creates and configures token for publishing
4739

4840
- name: Publish powersync_attachments_helper
4941
run: |
@@ -60,11 +52,7 @@ jobs:
6052
steps:
6153
- uses: actions/checkout@v4
6254

63-
- name: Install Flutter
64-
uses: subosito/flutter-action@v2
65-
with:
66-
flutter-version: "3.x"
67-
channel: "stable"
55+
- uses: dart-lang/setup-dart@v1 # Creates and configures token for publishing
6856

6957
- name: Set powersync core version
7058
run: echo "CORE_VERSION=v0.1.8" >> $GITHUB_ENV

0 commit comments

Comments
 (0)