Skip to content

Commit 208d012

Browse files
[Added] setup dart step to workflow
1 parent 955a106 commit 208d012

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,4 @@ on:
88
# Publish using the reusable workflow from dart-lang.
99
jobs:
1010
publish:
11-
runs-on: ubuntu-22.04
12-
steps:
13-
- name: Checkout App Repo
14-
uses: actions/checkout@v3
15-
16-
- name: Setup Ruby
17-
uses: ruby/setup-ruby@v1
18-
with:
19-
ruby-version: '2.7.2'
20-
21-
- name: Update version in Pubspec
22-
run: ruby update_version.rb
23-
24-
- name: Install Flutter & Build App Bundle
25-
uses: subosito/flutter-action@v2
26-
with:
27-
channel: 'stable'
28-
29-
- name: Install Flutter Packages
30-
run: flutter pub get
31-
32-
- name: Publish to pub.dev
33-
run: flutter pub pub publish -f
11+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

0 commit comments

Comments
 (0)