-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02dda5a
commit 8cdba93
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,25 @@ on: | |
push: | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+*' | ||
|
||
env: | ||
FLUTTER_VERSION: 3.19.6 | ||
|
||
jobs: | ||
publish: | ||
name: 'Publish to pub.dev' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dart-lang/setup-dart@v1 | ||
- name: Install and set Flutter version | ||
uses: subosito/[email protected] | ||
with: | ||
flutter-version: ${{ env.FLUTTER_VERSION }} | ||
channel: stable | ||
cache: true | ||
- name: Install dependencies | ||
run: dart pub get | ||
run: flutter pub get | ||
- name: Publish - dry run | ||
run: dart pub publish --dry-run | ||
run: flutter pub publish --dry-run | ||
- name: Publish to pub.dev | ||
run: dart pub publish -f | ||
run: flutter pub publish -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,14 +38,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dart-lang/setup-dart@v1 | ||
- name: Install and set Flutter version | ||
uses: subosito/[email protected] | ||
with: | ||
flutter-version: ${{ env.FLUTTER_VERSION }} | ||
channel: stable | ||
cache: true | ||
# - name: Install dependencies | ||
# run: dart pub get | ||
- name: Publish - dry run | ||
run: flutter pub publish --dry-run |