-
Notifications
You must be signed in to change notification settings - Fork 0
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
5d8740a
commit d6fc3bf
Showing
4 changed files
with
43 additions
and
261 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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Publish to Pub.dev | ||
|
||
# 流程触发时机,create当有标签tag创建时触发,如 v1.0.0。当然也可以选择别的触发时机,如 push,release 等 | ||
on: create | ||
# push: | ||
# branches: | ||
# - master | ||
|
||
jobs: | ||
publishing: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# 拉取仓库代码 | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
# 发布插件 | ||
- name: Dart and Flutter Package Publisher | ||
uses: k-paxian/dart-package-publisher@master | ||
with: | ||
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }} | ||
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }} | ||
suppressBuildRunner: true | ||
flutter: true | ||
skipTests: true | ||
force: true |
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 |
---|---|---|
|
@@ -27,3 +27,5 @@ migrate_working_dir/ | |
**/doc/api/ | ||
.dart_tool/ | ||
build/ | ||
|
||
/example/pubspec.lock |
This file was deleted.
Oops, something went wrong.