Skip to content

Commit 6393d47

Browse files
Merge branch 'main' into type_selectors
2 parents 2e66a16 + 826ba7f commit 6393d47

File tree

8 files changed

+753
-243
lines changed

8 files changed

+753
-243
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/base.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Base
33
on:
44
push:
55
branches: [main]
6+
tags:
7+
- '*'
68

79
pull_request:
810
branches: [main]
@@ -38,8 +40,41 @@ jobs:
3840
run: flutter analyze
3941
# - name: Run tests
4042
# run: flutter test
43+
- name: Check publish warnings
44+
run: dart pub publish --dry-run
4145
- name: Build example
4246
run: |
4347
cd example
4448
flutter build appbundle --debug
4549
flutter build ios --debug --no-codesign
50+
51+
- name: Upload coverage to Codecov
52+
if: ${{ matrix.channel == 'stable' }}
53+
uses: codecov/codecov-action@v3
54+
with:
55+
files: coverage/lcov.info
56+
flags: unittests
57+
name: form_builder_file_picker
58+
59+
deployment:
60+
if: ${{ github.ref_type == 'tag' }}
61+
needs: build
62+
name: Deploy package
63+
runs-on: ubuntu-latest
64+
65+
steps:
66+
- name: Configure enviroment
67+
uses: actions/checkout@v3
68+
- name: Download flutter
69+
uses: subosito/flutter-action@v2
70+
with:
71+
channel: 'stable'
72+
- name: Setup pub credentials
73+
shell: bash
74+
env:
75+
PUB_DEV_PUBLISH_ACCESS_TOKEN: ${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}
76+
PUB_DEV_PUBLISH_REFRESH_TOKEN: ${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}
77+
run: |
78+
sh ./tool/pub_login.sh
79+
- name: Publish package
80+
run: dart pub publish -v -f

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 133 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)