Skip to content

Commit bb623cc

Browse files
authored
chore: update GitHub Action pub publish script (#80)
1 parent 443d6b3 commit bb623cc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/pub_publish.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ on:
88
jobs:
99
publish:
1010
permissions:
11-
id-token: write # This is required for requesting the JWT
11+
id-token: write # Required for authentication using OIDC
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: 📚 Git Checkout
1515
uses: actions/checkout@v4
16+
- name: 🎯 Setup Dart
17+
uses: dart-lang/setup-dart@v1
1618
- name: 🐦 Setup Flutter
1719
uses: subosito/flutter-action@v2
1820
- name: 📦 Install Dependencies
1921
run: flutter pub get
22+
- name: 🌵 Dry Run
23+
run: dart pub publish --dry-run
2024
- name: 📢 Publish
21-
run: dart pub publish --force
25+
run: dart pub publish --force

0 commit comments

Comments
 (0)