Skip to content

Commit d32c990

Browse files
authored
Create package_deploy.yml (#110)
* Create package_deploy.yml * update target branch in package deploy action
1 parent 6b79d6e commit d32c990

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/package_deploy.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
release:
3+
branches:
4+
- main
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Install Flutter
11+
uses: subosito/flutter-action@v2
12+
with:
13+
flutter-version: '3.7.10'
14+
- name: Install dependencies
15+
run: flutter pub get
16+
- name: Analyze
17+
run: flutter analyze
18+
- name: Format code
19+
run: dart format --fix .
20+
- name: Check Publish Warnings
21+
run: dart pub publish --dry-run
22+
- name: Publish
23+
uses: k-paxian/[email protected]
24+
with:
25+
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
26+
flutter: true
27+
skipTests: true

0 commit comments

Comments
 (0)