Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_screenutil
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Mounir Bouaiche
2024-05-31 10:18:22 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7983fa55681e21f98d38f882f845238747fea09d
7983fa55
1 parent
1594042a
Update workflows/publish.yml
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
.github/workflows/publish.yml
.github/workflows/publish.yml
View file @
7983fa5
name
:
Publish to Pub.dev
# 流程触发时机,当有标签创建时触发,如 v1.0.0。当然也可以选择别的触发时机,如 push,release 等
on
:
create
on
:
push
:
tags
:
-
'
v[0-9]+.[0-9]+.[0-9]+*'
# tag pattern on pub.dev: 'v'
jobs
:
publishing
:
...
...
@@ -9,10 +12,10 @@ jobs:
steps
:
# 拉去仓库代码
-
name
:
"
Checkout"
uses
:
actions/checkout@
v2
uses
:
actions/checkout@
main
# 发布插件
-
name
:
Dart and Flutter Package Publisher
uses
:
k-paxian/dart-package-publisher@
v1.2
uses
:
k-paxian/dart-package-publisher@
master
with
:
# 设置发布插件需要的 Token
accessToken
:
${{ secrets.OAUTH_ACCESS_TOKEN }}
...
...
Please
register
or
login
to post a comment