Skip to content

Commit 7348844

Browse files
committed
chore: update solidart workflow
1 parent a170923 commit 7348844

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/publish_solidart.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,24 @@ on:
88

99
# Publish using the reusable workflow from dart-lang.
1010
jobs:
11-
publish:
11+
build:
1212
runs-on: ubuntu-latest
1313
permissions:
1414
id-token: write # Required for authentication using OIDC
1515
steps:
16+
- uses: actions/checkout@v4
1617
- uses: dart-lang/setup-dart@v1
18+
- uses: subosito/flutter-action@v2
19+
with:
20+
channel: "stable"
1721
- run: |
18-
dart pub get
22+
flutter pub get
1923
cd packages/solidart_devtools_extension
2024
dart run devtools_extensions build_and_copy --source=. --dest=../solidart/extension/devtools
21-
- uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
22-
with:
23-
working-directory: packages/solidart
24-
environment: pub.dev
25+
- name: Publish - dry run
26+
run: dart pub publish --dry-run
27+
working-directory: packages/solidart
28+
# Publishing...
29+
- name: Publish to pub.dev
30+
run: dart pub publish -f
31+
working-directory: packages/solidart

0 commit comments

Comments
 (0)